craft-nft

A standalone NFT implementation for real-world arts and crafts assets
Log | Files | Refs | README

commit 9b281fab10456414c8628a628a1bd2cd2dd0d4d1
parent 26f887970f78a0afd07fd8f5a2da505284ca4034
Author: lash <dev@holbrook.no>
Date:   Thu,  2 Mar 2023 15:16:12 +0000

Remove declarations from readme

Diffstat:
MREADME.md | 6++----
Mpython/craft_nft/runnable/publish.py | 2+-
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -51,7 +51,6 @@ $ pip install $REPO_ROOT/dist/craft-nft-x.x.x.tar.gz craftnft-publish \ --name <token name> \ --symbol <token symbol> \ - --declaration-file <path to human readable file describing the token contract> \ -p <evm rpc node provider> \ -s -w ``` @@ -96,7 +95,7 @@ export DAVE=$(eth-keyfile -z -d dave.json) # publish contract >&2 echo publishing token ... echo "description missing" > description.txt -craftnft-publish --name "Test Token" --symbol "TEST" --declaration-file description.txt -s -w > token.txt +craftnft-publish --name "Test Token" --symbol "TEST" -s -w > token.txt export TOKEN_ADDRESS=$(cat token.txt | eth-checksum) >&2 echo published token $TOKEN_ADDRESS @@ -193,8 +192,7 @@ For the example browser application to use the service, the `wala` url needs to The data in content-addressed storage used by the application is: -* The contract declaration (read) -* Token declarations (read/write) +* Token metadata (read/write) See the `$REPO_ROOT/doc/latex/terminology.latex` document for a terminology overview. diff --git a/python/craft_nft/runnable/publish.py b/python/craft_nft/runnable/publish.py @@ -66,7 +66,7 @@ flags = arg_flags.STD_WRITE | arg_flags.WALLET | arg_flags.VALUE | arg_flags.TAB argparser = chainlib.eth.cli.ArgumentParser() argparser.add_argument('--name', type=str, required=True, help='Token name') argparser.add_argument('--symbol', type=str, required=True, help='Token symbol') -argparser.add_argument('--declaration-file', dest='declaration_file', type=str, help='File describing the purpose and terms of the token') +#argparser.add_argument('--declaration-file', dest='declaration_file', type=str, help='File describing the purpose and terms of the token') argparser = process_args(argparser, arg, flags) args = argparser.parse_args(sys.argv[1:])