/permission55-contracts

SBT-SmartContracts for Soulbound Tokens for Permissions and AccessControl

Primary LanguageTypeScript

Permissions55 Token Contracts

Installation / Setup

Installation requires a working node-environment including npm.

Install Prerequisites:

npm install

or

yarn install

Build everything:

npm run build

or

yarn run build

Run unit tests:

npm run test

or

yarn run test

Deployment

Testnet (Rinkeby)

Deployment:

npx hardhat run scripts/deploy.js --network rinkeby

Verification:


npx hardhat verify --network rinkeby DEPLOYED_CONTRACT_ADDRESS 0xb66e5...

Work with smart contract

hardhat console

npx hardhat console --network rinkeby

Mint token:

await token.mint('0xC1dAe5cE49F.....', new hardhat.ethers.BigNumber.from('123456789000000000000000'));