Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AccessTokenLength = 32
AccessTokenLength is the length of a user generated access token
var AccessTokenLife = int64(3600)
AccessTokenLife is the life of a generated access token
var AlgodAddress string
AlgodAddress is the address of the Algod Daemon
var AlgodToken string
AlgodToken is the RPC token required to call Algod endpoints
var AnchorAPI string
AnchorAPI is the URL of AnchorUSD's API
var AnchorUSDAddress string
AnchorUSDAddress is the address associated with AnchorUSD
var AnchorUSDCode string
AnchorUSDCode is the code for AnchorUSD's stablecoin
var AnchorUSDTrustLimit float64
AnchorUSDTrustLimit is the trust limit till which an account trusts AnchorUSD's stablecoin
var DbDir = HomeDir + "/database/"
DbDir is the directory where the openx database (boltDB) is stored
var DbName = "openx.db"
DbName is the name of the openx database
var HomeDir = os.Getenv("HOME") + "/.openx"
HomeDir is the directory where openx users and other elements specific to openx are stored
var IpfsFileLength int
IpfsFileLength is the length of the temporary ipfs file created during upload of third party documents
var KYCAPIKey string
KYCAPIKey is the KYC key for ComplyAdvantage, a leading KYC provider which is used with openx
var KmdAddress string
KmdAddress is the Algorand Key Management Daemon's address
var KmdToken string
KmdToken is the token required to access the Algorand Key Management Daemon
var Mainnet bool
Mainnet denotes if openx is running on Stellar mainnet / testnet
var PlatformEmail string
PlatformEmail is the email of the platform used to send notifications related to openx
var PlatformEmailPass string
PlatformEmailPass is the password for the emial account linked above
var PlatformPublicKey string
PlatformPublicKey is the Stellar public key of the openx platform
var PlatformSeed string
PlatformSeed is the Stellar seed corresponding to the above Stellar public key
var PlatformSeedFile = HomeDir + "/platformseed.hex"
PlatformSeedFile is the location where PlatformSeedFile is stored and decrypted each time the platform is started
var RefillAmount float64
RefillAmount is the amount used for refilling an account on Stellar testnet
var StableCoinSeedFile string
StableCoinSeedFile is the location where the encrypted seed is stored and decrypted each time the platform is started
var StablecoinCode string
StablecoinCode is the code of the in house stablecoin that openx possesses
var StablecoinPublicKey string
StablecoinPublicKey is the public Stellar address of our in house stablecoin
var StablecoinSeed string
StablecoinSeed is the Seed corresponding to the above Stablecoin Publickey
var StablecoinTrustLimit float64
StablecoinTrustLimit is the trust limit till which an account trusts openx's stablecoin
var Tlsport = 443
Tlsport is the default SSL port on which openx starts
Functions ¶
Types ¶
This section is empty.