The Stellar Federation protocol allows you to convert a human-readable address like amy*your_org.com to an account ID. It also includes information about what should be in a transaction’s memo. When sending a payment, you contact a federation server first to determine what Stellar account ID to pay. Luckily, the bridge server does this for you.
You will need the following things properly installed on your computer.
git clone git@gitlab.com:space-center/federation-serverless.git- change into the new directory
npm run api:createcreates and deploy claudiajs api with dev environment here your federation URLnpm run db:initinit terraformnpm run db:setup:workspacescreate terraform workspacesnpm run db:planplan dev infrastructurenpm run db:applycreates or updates dev infrastructure- if you are doing a fresh setup please configure remote proxy and then update Chromeless Service Information in settings.js
npm serverstart claudia js in local machine
npm testrun tests with jasmine
- go to /infrastructure/apiKeys
- add your keys as many as you need
npm run db:planverify changes in dev infrastructure (optional)npm run db:applyapply changes to dev infrastructure (optional)npm run api:deploydeploy claudiajs api with dev environment
npm run db:plan:prodverify changes in prod infrastructure (optional)npm run db:apply:prodapply changes to prod infrastructure (optional)npm run api:deploy:proddeploy claudiajs api with prod environment
- you can find api documentation here