Skip to content

dinaricrypto/sbt-contracts

Folders and files

NameName
Last commit message
Last commit date
Mar 14, 2025
Jun 22, 2023
Dec 7, 2023
Mar 4, 2025
Mar 26, 2025
Mar 26, 2025
Mar 26, 2025
Mar 12, 2025
Mar 12, 2025
Mar 14, 2025
Mar 4, 2025
Nov 21, 2023
Aug 17, 2024
Jan 14, 2025
Apr 22, 2023
Apr 22, 2023
Apr 22, 2023
May 18, 2023
Jun 20, 2023
Mar 4, 2025
Jul 1, 2023
Aug 16, 2024
Mar 4, 2025
Mar 14, 2025
Mar 4, 2025
Mar 1, 2024
May 18, 2023
Mar 4, 2025
Jun 22, 2023
Mar 14, 2025

Repository files navigation

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

  • PRIVATE_KEY
  • TRANSFER_RESTRICTOR
  • SWAP_ISSUER
  • DIRECT_ISSUER

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.