anchor-service

command
v0.0.0-...-1305305 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

README

anchor-service

This service will be used by stable coin issuers like Stronghold. This API will evolve as new stable coin issuers are boarded

  1. Anchor account is created outside WW, (could be created using stellar lab for testing)

  2. Add IBM account as a signer to this anchor account (can be done using stellar lab)

  3. Anchor issues digital asset (using stellar Lab) outside of WW

  4. Onboard an anchor on WW, WW admin creates an entry in PR with role as an anchor with country and domain

  5. Register Anchor: Endpoint: admin/anchor/usd.stronghold.co/register Validates if this account is valid and has setoptions set correctly with IBM admin account, it then registers with PR

  6. WW admin will then have to update PR with its role as IS, country, and API service URL for stronghold it should be: "api_service_url": "https://sandbox.stronghold.co/v1/venues",

  7. Register asset: Endpoint: /admin/anchor/{anchor_domain}/onboard/assets Creates a trust with IBM admin account

  8. Participant will send create trust operation

  9. Anchor will do allow trust operation Endpoint: anchor/trust

  10. anchor will Discover WW participant account address: Endpoint: anchor/address/stellar

  11. anchor can now send DA to participant using funding endpoint

  12. return or withdraw anchor endpoint,

API service Endpoint: transactions/settle/da

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL