This CAIP defines the Stellar network namespace and reference for CAIP-2.
In CAIP-2 a general blockchain identification scheme is defined. This is the implementation of CAIP-2 for the Stellar network.
See CAIP-2.
The namespace "stellar" refers to the wider Stellar ecosystem.
The reference relies on Stellar's current designation of addresses belonging to test or main networks by prefixing them
with testnet or pubnet correspondingly.
Reference could only be populated with testnet or pubnet symbols.
Each Stellar network has its own unique passphrase, which is used when validating signatures on a given transaction.
The current passphrases for the Stellar pubnet and testnet are:
To resolve a blockchain reference for the Stellar namespace, make a REST GET request to the Stellar Horizon node with endpoint / or REST GET request to the Stellar Core node with endpoint /info, for example:
The response will return a JSON object which will include network information.
The blockchain reference can be retrieved from network_passphrase response of Horizon or from network response of Stellar Core.
Blockchains in the "stellar" namespace are two Stellar public networks - pubnet and testnet.
Not applicable
This is a list of manually composed examples
Copyright and related rights waived via CC0.