stellar-deposit-svc

command module
v0.0.0-...-66ccf9c Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

Build Status

Stellar deposit integration module

Stellar deposit service is a bridge between TokenD and Stellar, which allows to deposit tokens into TokenD from Stellar. It listens for token transfers specific address. Memo generated on TokenD side must be present in payment in order for payment to be considered valid.

Usage

Enviromental variable KV_VIPER_FILE must be set and contain path to desired config file.

stellar-deposit-svc run deposit

Watchlist

In order for service to start watching for specific asset in stellar network, asset details in TokenD must have entry of the following form:

{
//...
"stellar": {
   "deposit": true,
   "asset_code": "USD", // Omit for asset type "native"
   "asset_type": "AlphaNum4",
   },
//...
}

Config

stellar:
  is_testnet: true # set true for stellar testnet

payment:
  target_address: "G_STELLAR_DEPOSIT_ADDRESS" # address to payments to

deposit:
  admin_signer: "S_SOME_VALID_SECRET_KEY" # used to sign transactions

horizon:
  endpoint:
  signer: "S_SOME_VALID_SECRET_KEY" # used to get requests from horizon

log:
  level: info
  disable_sentry: true

Just add public key of deposit: admin_signer as signer to corporate account for issuance

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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