6

The sender would first lookup for the FEDERATION_SERVER address in the stellar.toml file. This file is hosted by the providing service and should be available for any federation server via https://YOUR_DOMAIN/.well-known/stellar.toml by protocol convention. So in your example at https://your_org.com/.well-known/stellar.toml. The next step is the call to ...


5

Your client will use the federated address as a destination in their wallet software, the wallet will call your server and get the account info + memo when the client wants to send funds to you.


5

Unfortunately since stellar uses a monorepo now (different services in the same git repository) the releases page is filled with other services and you have to go to the next page to find the latest Federation Server release, which is here: https://github.com/stellar/go/releases/tag/federation-v0.2.0


5

No, it does not take any fees, it's just tool to resolve stellar addresses and return relative public key, and it does not connect with Stellar network


4

Federation support is reccomended by SDF (see SEP-0002), but not mandatory. Some clients do not support federation addresses, for example, exchanges like Bittrex or Poloniex. So it would be better if you provide an account address alongside with the federated address. Make it smaller or semi-opaque, but give your users a choice to use both.


3

Most likely your CORS headers aren't setup, or setup incorrectly. Websites are served on specific domains, and CORS header from an internet resource lets the browser know what domains are allowed to serve it. Standalone apps don't care.


2

First of all, you do not need your own validator node to setup a federation server. They are independent components within the Stellar ecosystem. Second, please note that federation is a client-only protocol, which needs to be implemented in wallet / client applications. This means that when you enter for example joe*yourdomain.com as the destination ...


2

It's up to the client whether to use particular federation lookup parameter or not. "I forgot to add the memo while sending funds to exchange, how can I get my lumens back?" – that's roughly 1/3 of all support requests from Stellar newcomers. Life would be much easier if all exchanges/anchors implement the federation protocol correctly. To my mind, the ...


2

The approach I take on https://debtmoney.xyz/ is basically to keep a list of users in the database, along with their addresses and seed keys. The keys are created whenever the user signs up and prefunded whenever the user attempts to use his account for the first time, then the keys are stored as plaintext on Postgres. The code for the entire app is on ...


2

The federation server doesn't know if the request came from the public or the testnet. From the technical point of view, there is no testnet or pubnet addresses. Federation server returns an account address (ED25519 public key), which is valid for any Stellar network. Two different accounts with the same address (and the same private key) can exist on both, ...


2

How do I make a stellar.toml file? With notepad++ then save it as .toml? Any text editor will do. Just create a regular text file in UTF-8 encoding and save it as stellar.toml. Extension should be .toml, not the .toml.txt or anything similar. Are there different programs or Apps to use? Do I upload it to IPFS? Do i have to sign it with keybase? No, no, ...


2

A federation server would add another level of complexity that is unnecessary imo. Federation servers are for turning stellar account ids into more human-readable addresses. Since your users already have forum accounts you can map their forum accounts to a stellar account id in the user database. Then you can build out an exclusive tool for the forum where ...


2

What I did just this week is implement two simple endpoints for federation and compliance in our API. Very straightforward once you figure out that these are very simple APIs. This is not very obvious from the documentation. Basically with federation, you return a small json blob in response to a name query with the full stellar address (uid*yourdomain.com) ...


2

You never need a federation server for anything. It might be a service you want to provide to your users however, so they don't have to deal with copy-pasting memos all the time. If you decide to, just as you say, your federation lookup would return the same account always, but with a different memo (per user, or per lookup) Without a federation server, ...


2

No. They don't. Can you expand on what kind of history you mean? Here's an answer I wrote that goes over what federation is and how it is used: https://stellar.stackexchange.com/a/1592/762


2

Storing the public key is no problem at all. It's public so there's no security concern. If you meant secret keys then you might want to rethink whether you really need it -- I doubt you do just for federation. N/A Federation just lets others look up your address using your friendly id (or a source account + a memo). There's no reason why multiple anchors ...


2

An Account ID is a unique identifier for a registered account, and is an StrKey-encoded ed25519 public key. NB: Not all public keys are account IDs. E.g., it's perfectly fine to have signers that are public keys, but not accounts.


2

We implemented federated accounts for our users as follows: All our users have one or more account codes that they can use together with our domain name to form a federated address of the form accountcode*inbot.io We have implemented a federation endpoint in our API that responds with the appropriate stellar address and memo in response to a query for a ...


2

The Stellar Consensus Protocol is a type of federated Byzantine agreement protocol. So FBA is a broader category that includes SCP. There's a more recent peer-reviewed paper written for the SOSP that I personally find a bit easier to parse than the original white paper. Here's what it says: "Stellar introduces a new Byzantine agreement protocol, SCP (...


1

As far as I understand all non-faulty members of Stellar network maintain same transaction log (sequence of ledgers in Stellar terminology) and database state. This includes accounts public keys and their balances, and theoretically it should be enough for operation. Correct Now there are also some federation servers that provide service for resolving ...


1

Federation servers do not host /.well-known/stellar.toml. Though this file may exist on the same domain, and often does, it does not have to. The well-known stellar file will define the location of a federation server. A federation server will resolve federated addresses to stellar addresses. The network expects resolved addresses. Clients who wish to ...


1

It is indeed mostly means the public key but sometimes it means the user name part of a federated stellar address, which is something completely different and indeed confusing. Federation is something you do mostly outside stellar by using the optional memo field on transactions. If you have a federated address of the form username*domain.com, username ...


1

Stellar federation server is an implementation of Stellar Federation Protocol, which used to map names to addresses and any other info. It is good practice to deploy federation server if you are Anchor. It works such way: Got request like this username*anchordomain.com Look for federation server endpoint at https://anchordomain.com/.well-known/stellar....


1

Just need to remember any changes to either the db or the cfg will require a restart of the federation server. I also turned off query caching in the db.


1

You can try making a Federation query yourself: https://stellar.github.io/js-stellar-sdk/FederationServer.html#.resolve And seeing whether it works or not. StellarSdk.FederationServer.resolve('bob*stellar.org') .then(federationRecord => { // { // account_id: 'GB5XVAABEQMY63WTHDQ5RXADGYF345VWMNPTN2GFUDZT57D57ZQTJ7PS', // memo_type: 'id', ...


1

I cannot speak to the specifics, but I have been able to get all this running on the smallest DigitalOcean droplet. The specs of this server are: So I would guess a personal set of computers is also capable. Best of luck!


1

For just federation -- no compliance -- the above sounds correct. As outlined in the docs, which you mentioned you have read through, this is easily done via Stellar's prebuilt federation server which can hook into an existing database. Once it is connected, it essentially translates a federation request into a SQL query. The server supports MySQL, ...


1

The Federation server would return some value with the memo field that can be used by the service provider (you) to uniquely identify the receiving user. A database ID does match this requirement but you can use anything else that makes sense in your domain as long as it's unique (also in the future). The bridge server does also help to participate with the ...


1

You don't need to do anything as complex as editing your /etc/hosts file. There is a well defined mapping between a federation destination address and the underlying query performed on a federation server. For example, when you try to send Lumens to the address joe*yourdomain.com, you can safely assume that the federation server running at yourdomain.com ...


Only top voted, non community-wiki answers of a minimum length are eligible