@guildsworn/token-contracts
v1.0.18
Published
Token smart contracts for eldfal
Maintainers
Readme
guildsworn-token-contracts
Installing the package
npm install @guildsworn/token-contractsor via yarn
yarn add @guildsworn/token-contractsCompiling, building
Try running some of the following tasks:
yarn install
yarn clean
yarn compile
yarn test
yarn coverage
yarn docsUpdating interfaces
npx hardhat generate-interface [Contract name]
cp contracts/[Contract name] contracts/interfaces/Smart Contract deploy
Before deploy
- Create
.envfile in root folder or copy and check.env.example
Deploy parameters
Deploy on hardhat local network, reset deployment if exists and generate deployment files
npx hardhat deploy --write true --resetDeploy on Oasis Sapphire Testnet, generate deployment files
npx hardhat deploy --write true --network oasis_sapphire_testnetDeploy on Oasis Sapphire Mestnet, generate deployment files
npx hardhat deploy --write true --network oasis_sapphire_mainnetVerify contract for testnet
yarn hardhat --network oasis_sapphire_testnet sourcifyVerify contract for mainnet
yarn hardhat --network oasis_sapphire_mainnet sourcifyPublish the NPM package
yarn publish