Skip to content

bogacyigitbasi/cis2-multi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buidl the contract

cargo concordium build --out dist/smart-contract-multi/module.wasm.v1 --schema-out dist/smart-contract-multi/schema.bin

Deploy the contract

concordium-client module deploy dist/smart-contract-multi/module.wasm.v1 --sender --name cis2_multi --grpc-port 10001

Initialize the contract

concordium-client contract init --sender --energy 30000 --contract cis2-multi --grpc-port 10001

Mint Semi-Fungible Tokens

concordium-client contract update --entrypoint mint --parameter-json nft-artifacts/mint-params.json --schema dist/smart-contract-multi/schema.bin --sender --energy 6000 --grpc-port 10001

View Contract State

concordium-client contract invoke --entrypoint view --schema dist/smart-contract-multi/schema.bin --grpc-port 10001

Check Metadata

concordium-client contract invoke --entrypoint tokenMetadata --parameter-json nft-artifacts/ids.json --schema dist/smart-contract-multi/schema.bin --grpc-port 10001

Transfer

concordium-client contract update --entrypoint transfer --parameter-json nft-artifacts/transfer.json --schema dist/smart-contract-multi/schema.bin --sender --energy 6000 --grpc-port 10001

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages