Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

A template for creating new SBTs inheriting from the Masa SBT smart contracts

License

Notifications You must be signed in to change notification settings

masa-finance/masa-sbt-boilerplate

Repository files navigation

Masa SBT Boilerplate

A template for creating new SBTs inheriting from the Masa SBT smart contracts

Deployment

Preparations

  • Set DEPLOYER_PRIVATE_KEY to the deployers private key in .env.{network}.secret
  • Set INFURA_API_KEY to the Infura API key in .env
  • Set COINMARKETCAP_API_KEY to the CoinMarketCap API key in .env, if needed
  • Set ETHERSCAN_API_KEY to the Etherscan API key in .env, if needed
  • Set the environment variables in every .env.{network} file. These variables are used to deploy the smart contracts to the network.

Install dependencies

Run:

yarn install

Build smart contracts

Run:

yarn build

Test smart contracts

Run:

yarn test

Deploy

Run: yarn deploy --network {network} to deploy.

Contract Deployments

Deployment addresses

You can see the deployment address of the smart contracts in the deployments/goerli and deployments/mainnet folders. For every deployed smart contract you will find a <smart_contract>.json JSON file with the address in the "address" field.

About

A template for creating new SBTs inheriting from the Masa SBT smart contracts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •