Testcoin contract for testing purposes.
sui client publish --gas-budget 1000000000
sui move test --gas-limit 1000000000
Replace $PACKAGE_ID
with your contract's package ID and $VAULT_ID
with the ID of the shared vault.
sui client call --package $PACKAGE_ID --module testcoin --function mint --args $VAULT_ID 0x6
Replace $PACKAGE_ID
with your contract's package ID, $VAULT_ID
with the shared vault ID, $RECIPIENT
with the recipient's wallet address, and $COIN_ID
with the coin's ID to deposit.
sui client call --package $PACKAGE_ID --module testcoin --function deposit --args $VAULT_ID '[$RECIPIENT]' '[$COIN_ID]'
Replace $PACKAGE_ID
with your contract's package ID, $VAULT_ID
with the shared vault ID, and $AMOUNT
with the number of coins to claim.
sui client call --package $PACKAGE_ID --module testcoin --function claim --args $VAULT_ID $AMOUNT