https://github.com/blocto/usdc-contracts
https://github.com/blocto/usdc-contracts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blocto/usdc-contracts
- Owner: blocto
- Created: 2022-02-10T11:07:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T05:55:20.000Z (over 2 years ago)
- Last Synced: 2024-12-29T00:16:02.352Z (12 months ago)
- Language: Cadence
- Size: 2.03 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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
```