consts

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: GPL-2.0, GPL-3.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessTokenLength = 32

AccessTokenLength is the length of a user generated access token

View Source
var AccessTokenLife = int64(3600)

AccessTokenLife is the life of a generated access token

View Source
var AlgodAddress string

AlgodAddress is the address of the Algod Daemon

View Source
var AlgodToken string

AlgodToken is the RPC token required to call Algod endpoints

View Source
var AnchorAPI string

AnchorAPI is the URL of AnchorUSD's API

View Source
var AnchorUSDAddress string

AnchorUSDAddress is the address associated with AnchorUSD

View Source
var AnchorUSDCode string

AnchorUSDCode is the code for AnchorUSD's stablecoin

View Source
var AnchorUSDTrustLimit float64

AnchorUSDTrustLimit is the trust limit till which an account trusts AnchorUSD's stablecoin

View Source
var DbDir = HomeDir + "/database/"

DbDir is the directory where the openx database (boltDB) is stored

View Source
var DbName = "openx.db"

DbName is the name of the openx database

View Source
var HomeDir = os.Getenv("HOME") + "/.openx"

HomeDir is the directory where openx users and other elements specific to openx are stored

View Source
var IpfsFileLength int

IpfsFileLength is the length of the temporary ipfs file created during upload of third party documents

View Source
var KYCAPIKey string

KYCAPIKey is the KYC key for ComplyAdvantage, a leading KYC provider which is used with openx

View Source
var KmdAddress string

KmdAddress is the Algorand Key Management Daemon's address

View Source
var KmdToken string

KmdToken is the token required to access the Algorand Key Management Daemon

View Source
var Mainnet bool

Mainnet denotes if openx is running on Stellar mainnet / testnet

View Source
var PlatformEmail string

PlatformEmail is the email of the platform used to send notifications related to openx

View Source
var PlatformEmailPass string

PlatformEmailPass is the password for the emial account linked above

View Source
var PlatformPublicKey string

PlatformPublicKey is the Stellar public key of the openx platform

View Source
var PlatformSeed string

PlatformSeed is the Stellar seed corresponding to the above Stellar public key

View Source
var PlatformSeedFile = HomeDir + "/platformseed.hex"

PlatformSeedFile is the location where PlatformSeedFile is stored and decrypted each time the platform is started

View Source
var RefillAmount float64

RefillAmount is the amount used for refilling an account on Stellar testnet

View Source
var StableCoinSeedFile string

StableCoinSeedFile is the location where the encrypted seed is stored and decrypted each time the platform is started

View Source
var StablecoinCode string

StablecoinCode is the code of the in house stablecoin that openx possesses

View Source
var StablecoinPublicKey string

StablecoinPublicKey is the public Stellar address of our in house stablecoin

View Source
var StablecoinSeed string

StablecoinSeed is the Seed corresponding to the above Stablecoin Publickey

View Source
var StablecoinTrustLimit float64

StablecoinTrustLimit is the trust limit till which an account trusts openx's stablecoin

View Source
var Tlsport = 443

Tlsport is the default SSL port on which openx starts

Functions

func SetConsts

func SetConsts(mainnet bool)

SetConsts sets the consts required for openx to operate. Third party platforms should call this before starting their platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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