Enterprise Derivative Assets
February 18, 2021 · View on GitHub
Description
Derivative Asset support for the enterprise needs, with attributes such as expiration, limit on transfers, longitudinal unlocking, redemptions, etc.
How to deploy Enterprise Derivative assets via Smart Contract
1. Create Smart Contract artifacts
Checkout the latest Smart Contract artifacts metadata.json and cere01.wasm or follow the link to build them from sources.
2. Upload artifacts (wasm and metadata files) first
- Go to Polkadot Block Viewer
- Open Developer→Contracts
- Click "Upload WASM" button
- Specify metadata.json and .WASM files
- Click upload and select source account to upload artifacts. You can use pre-defined Alice account or any other with native tokens on balance.
3. Deploy Smart Contract
After you uploaded artifacts you will be able to see it in the Hash Codes section in the Polkadot Block Viewer
- Click "Deploy" button
- Specify
initialSupplyvalue. Let it be 1 000 000 000. - Specify
endowment= 2
No need to touch hashStr and commentIn.
Click "Deploy" button.