30th June 2020
37 min read
What is Stellar.toml file?
Stellar.toml is a file where you put the information about your organization's Stellar integration. To create the link between information on the file and the account, you need to create a link between the home domain of the Stellar account and the domain that hosts the toml file. The file can be read by humans as well as the machine. The file is written in TOML which is a simple file format and used widely. If anyone looks into it, it shows that the owner of the file claims responsibility for the account and assets listed in it.
SEP-1 Specifies five sections that you have to add to your toml file.
Sample:- [DOCUMENTATION] ORG_NAME="<Name of the organization>" ORG_DBA="<DBA of the organization>" ORG_URL="<organization URL>" ORG_LOGO="<Link of URL of your logo>" ORG_DESCRIPTION="<Description of the issuer>" ORG_PHYSICAL_ADDRESS="<Address of the organization>" ORG_PHYSICAL_ADDRESS_ATTESTATION="<Attestation of your address>" ORG_PHONE_NUMBER="<Organization's contact number>" ORG_PHONE_NUMBER_ATTESTATION="Attestation of contact number" ORG_KEYBASE="<Account name>" ORG_TWITTER="<organization's Twitter username>" ORG_GITHUB="<organization's git>" ORG_OFFICIAL_EMAIL="<Official Email>"
Sample:- name="<Name>" email="<email address>" keybase="<account details>" twitter="<twitter information>" github="<git information>" id_photo_hash="<ID photo hash>" verification_photo_hash-"<Validation photo hash>"
Sample:- name="<name>" email="<email address>" keybase="<account details>" twitter="<twitter information>" github="<git information>" id_photo_hash="<id hash>" verification_photo_hash-"<photo hash>"
Sample:- [[VALIDATORS]] ALIAS="<name of node>" DISPLAY_NAME="<display name of node>" HOST="<IP:PORT of node>" PUBLIC_KEY="<public key of node stellar account>" HISTORY="<URI of node>
Way to publish toml file.
After the compilation of above-mentioned points, you need to post your TOML file with CORS enable to allow access request from another server on the following domain.
https://YOUR_DOMAIN/.well-known/stellar.toml