An open API service indexing awesome lists of open source software.

https://github.com/blocto/usdc-contracts


https://github.com/blocto/usdc-contracts

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# FiatToken (USDC) Teleport Contracts

## Setup Flow CLI
https://docs.onflow.org/flow-cli/install

## Run Scripts/Transactions - Examples
### Setup USDC Token Vault
```
flow transactions send ./transactions/token/setupFiatTokenVault.cdc \
--network testnet \
--signer usdc-user-testnet \
--gas-limit 1000
```

### Transfer USDC Token
```
flow transactions send ./transactions/token/transferFiatToken.cdc \
--network testnet \
--arg UFix64:100.0 \
--arg Address:0x03d1e02a48354e2b \
--signer usdc-admin-testnet \
--gas-limit 1000
```

### Get USDC Token Balance
```
flow scripts execute ./scripts/token/getFiatTokenBalance.cdc \
--network testnet \
--arg Address:0x03d1e02a48354e2b
```