dinaricrypto / sbt-contracts

SBT Core Contracts
GNU General Public License v3.0
2 stars 1 forks source link

SBT Contracts

codecov

Usage

Install tools and foundry

yarn install
yarn install:foundry

Build and test

yarn build
yarn test

Deployment

A collection of the different SBT contract deployments and their addresses can be found in the SBT deployments repository.

Currently deployment scripts are only configured for testnet.

yarn deployall:testnet

For a new deployment, after the deploy script succeeds, copy the addresses and ABI to the SBT deployments repository under the new version directory.

Staging setup

To deploy set of new asset tokens, set env vars

then run

yarn deploy:tokenlist:testnet

Security and Liability

All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.