▶️Deploying your contracts
The example is based on Hardhat framework
Prerequisite
Please follow Hardhat guide here
Example: To create a Fixed-cap Asset
contracts/Token.sol
Add network following network config to hardhat.config.ts
Compile your code using
Deploy script
scripts/deploy.ts
Deploy to testnet
Deploy to mainnet
Verify Contract
Now you will find your deployed contract on rei scan
Mainnet: https://reiscan.com/
Testnet: https://testnet.reiscan.com/
Go to
code
tab and selectVerify and Publish
2. Select Via flattened source code
3. Fill in the following
To get flattened code
Make sure that you do not have duplicate licenses.
Remove duplicate licenses and leave the one on top
Ex. // SPDX-License-Identifier: MIT
Last updated