Repo containing bluefin's coin contract for Sui blockchain.
- Install dependencies using
yarn
- Build contracts using
yarn build
- Update
.env
and toyarn deploy
to deploy the contracts. The script will deploy the contracts and write package and other important object details to "deployment.json"
- Mint coins using
yarn mint
- Burn coins using
yarn burn
- Get coin info using
yarn coin-info
The directory contains scripts to execute operations using multi sig wallet and also to create a multisig
create-wallet:
Allows user to create a multisig wallet. Just update the script with public keys of the accounts owning the multisig and update signing threshold before executionexecTx:
Executes a singed multisig transaction. Before executing the tx, we must create its tx bytes and sign them using the multisig ownerssignTx:
Allows the owner of multisig to sign the tx bytescommands:
Scripts/Commands that the multisig wallet can execute. The scripts generate the tx bytes of the commands that must be signed and executed.