ARC-62 Reference Implementation
ARC-62 Reference Implementation
This is the reference implementation of ASA Circulating Supply App based on the ARC-62 specification.
Adoption
Explorers supporting ARC-62:
- Pera Explorer (example)
ASA adopting ARC-62:
- Midas US Treasury Bill Token (mTBILL)
Demo
- Download the AppSpec JSON file
- Open the Lora App Lab in TestNet
- Enter the App ID
740315445
and click on “Use existing” - Upload the AppSpec JSON and click “Next” and then “Create”
- Open the App
- Connect a TestNet Wallet
- Select the
arc62_get_circulating_supply
method and click “Call” - Enter
740315456
asasset_id
argument and click “Add” - Click on “Populate Resources”
- Click on “Simulate” and inspect the result (answer should be
1
)
Test
Install the project Python dependencies:
poetry install
Run the test:
poetry run pytest -s -v tests/test_get_circulating_supply.py::test_pass_get_circulating_supply