Concordium is a science-based proof-of-stake blockchain created for all, with in particular business applications in mind. Read more about concordium
This repository provides sample implementations of following ways in which a developer can interact with an on chain contract on Concordium.
- Using Concordium Client
-
Contracts
-
- Allows only a Single Auction per instance of the contract.
- Allows auctioning of any CIS2 Token. By transferring the ownership of the token to
auctionSmart Contract Instance. - Participants need to also hold and then transfer Participation token to the
auctionSmart Contract Instance to be able to participate in a particular Auction.
-
- Allows the user to Transfer any Quantity of a CIS2 token to Mint other CIS2 token of Any Quantity.
-
- Allows user to Sell a CIS2 token for a particular specified price in CCD.
-
- Allows a user to mint any amount of a CIS2 token and perform various interactions specified by CIS2 Standard.
-
- Allows a user to mint A single CIS2 token (NFT) and perform various interactions specified by CIS2 Standard.
-
-
Concordium Client : Sample commands to interact with various provided Contracts.
-
Sample Artifacts : Sample JSON requests used to interact with the Smart Contracts. These should be modified according to the user and their deployed instances of smart contracts.
Throughout this repository Concordium Testnet is being used to demo the functionality.
-
Perquisites
- Download and Install Docker Compose
- Install tools for Smart Contract development
- Clone this Repository
- Create Concordium Account & Wallet
- Download concordium testnet wallet
- Create Testnet Account
- Export wallet and then copy the file in root named concordium-backup.concordiumwallet
-
Build Contracts
cd cis2-multi ## Or cd cis2-market cargo concordium build --out module.wasm --schema-out schema.bin
-
Interact with Contracts
- Using Concordium Client