Algorand#
This page includes details for working with Algorand environment chains.
Developer Tools#
The recommended development tool for Algorand is Algokit.
Addresses#
Because Wormhole works with many environments, the Wormhole address format is normalized. For Algorand chains, a Wormhole formatted address is the 58-character address decoded from base32 with its checksum removed. E.g. M7UT7JWIVROIDGMQVJZUBQGBNNIIVOYRPC7JWMGQES4KYJIZHVCRZEGFRQ
becomes 0x67e93fa6c8ac5c819990aa7340c0c16b508abb1178be9b30d024b8ac25193d45
.
Algorand also uses a uint64 for asset and application IDs. These are converted to 32 bytes by first converting to an 8-byte big-endian byte array, then padding with 24 bytes of zeroes. For example, 123
becomes 0x000000000000000000000000000000000000000000000000000000000000007b
.
Emitter#
The emitter is the application address, normalized to the Wormhole address format.
Algorand#
Ecosystem#
Wormhole Details#
- Name:
algorand
- Chain ID:
8
- Contract Source: algorand/wormhole_core.py
Consistency Levels#
The options for consistencyLevel
(i.e., finality) are:
Level | Value |
---|---|
Finalized | 0 |
This field may be ignored since the chain provides instant finality.
For more information see https://developer.algorand.org/docs/get-started/basics/why_algorand/#finality.
Mainnet Contracts mainnet-v1.0
#
Type | Contract |
---|---|
Core | 842125965 |
Token Bridge | 842126029 |
Testnet Contracts testnet-v1.0
#
Type | Contract |
---|---|
Core | 86525623 |
Token Bridge | 86525641 |
Local Network Contract#
Type | Contract |
---|---|
Core | 1004 |
Token Bridge | 1006 |