./batect build
Modify build/nodecluster/node0/irita/config/app.toml api.swagger=true
docker-compose up --build -d
docker exec -it irita-workspace /bin/bash
bash /scripts/recover.sh
irita tx token issue --name "Kitty Token" --symbol "kitty" --min-unit="kitty" --scale 0 --initial-supply 100000000000 --max-supply 1000000000000 --mintable true --from v1 --chain-id irita-test --home node0/iritacli --keyring-backend test --node tcp://192.168.10.2:26657
irita query token tokens --node tcp://192.168.10.2:26657
irita tx nft issue thoughtworks --schema='{"title":"Asset Metadata","type":"object","properties":{"name":{"type":"string","description":"Identifies the asset to which this NFT represents"},"description":{"type":"string","description":"Describes the asset to which this NFT represents"},"image":{"type":"string","description":"A URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive."},"meta":{"type":"string","description":"A URI pointing to other attributes related to the asset to which this NFT represents"}}}' --from v1 --chain-id=irita-test --home node0/iritacli --keyring-backend test --node tcp://192.168.10.2:26657 --mint-restricted --update-restricted
irita tx nft mint thoughtworks a4c74c4203af41619d00bb3e2f462c10 --uri http://192.168.10.7/thoughtworks.json --data '{"name":"thoughtworks","description":"thoughtworks logo","image":"https://www.thoughtworks.com/etc.clientlibs/thoughtworks/clientlibs/clientlib-site/resources/images/thoughtworks-logo.svg"}' --from=v1 --chain-id=irita-test --home=node0/iritacli --node tcp://192.168.10.2:26657 --keyring-backend test
irita query nft owner iaa15qgqfqk8uuej8ykjcyf7nse5n2avph0m92cu4e --chain-id=irita-test --home node0/iritacli --node tcp://192.168.10.2:26657
./batect start
irita tx token issue --name "Kitty Token" --symbol "kitty" --min-unit="kitty" --scale 0 --initial-supply 100000000000 --max-supply 1000000000000 --mintable true --from v1 --node https://opbningxia.bsngate.com:18602/api/{project_id}/rpc --chain-id wenchangchain
irita query token tokens --node https://opbningxia.bsngate.com:18602/api/{project_id}/rpc --chain-id wenchangchain
irita query nft denoms --node https://opbningxia.bsngate.com:18602/api/{project_id}/rpc --chain-id wenchangchain
curl -X GET "http://localhost:1317/irismod/nft/denoms"
curl -X GET "http://localhost:1317/irismod/nft/denoms/thoughtworks"
curl -X GET "http://localhost:1317/irismod/nft/nfts"
curl -X GET "http://localhost:1317/irismod/nft/nfts?denom_id=thoughtworks&owner=iaa15qgqfqk8uuej8ykjcyf7nse5n2avph0m92cu4e"
curl -X GET "http://localhost:1317/irismod/nft/nfts/thoughtworks/a4c74c4203af41619d00bb3e2f462c10"