Accounts

How to Set Up Federation Without a Server

Post by
Kyle McCollom
Welcome, Lumenaut!
Oops! Something went wrong while submitting the form
clarity ahead

Federation without a server

Use StellarID.io to power federated Stellar addresses for your domain without having to set up a federation server or database.

Step 1

Visit the StellarID.io site and set up an account:

https://stellarid.io/

Step 2

Add a domain by clicking the green "Add a new domain" button. Input a domain you own in the text box that appears and submit.

Step 3

Add your first Stellar address for testing purposes. Click the blue "Edit" button and submit your desired username and the associated Stellar account id.

Step 4

Add a stellar.toml file to your site at https://yourdomain.com/.well-known/stellar.toml that points to "https://stellarid.io/federation/".

It's important that you use your naked domain for the toml file URL - Stellar clients will not look for it under your www subdomain.

Step 5

Modify your stellar.toml file/page to enable CORS - cross-origin resource sharing.

You can do this by adding "Access-Control-Allow-Origin: *" to the HTTP header.

Step 6

Test that your set up is working properly using StellarID's testing tool at the bottom of this page:

https://stellarid.io/domain/lumenauts.com/setup/

More From Lumenauts

Featured Tutorials

Community Projects
How to Tip with the Stellar Subreddit Tipping Bot
Read Tutorial
Wallets
Stellar Ledger - How to Use Lumens on the Ledger Nano S
Read Tutorial
Accounts
How to Join the Lumenaut Inflation Pool
Read Tutorial