ACCSConfig

swapchain documentationACCSConfig

Contains all necessary information to run an ACCS after parsing.

interface ACCSConfig

Hierarchy

  • ACCSConfig

Index

Properties

Properties

amountBTSMini

amountBTSMini: number

Defined in pkg/accs/accs.ts:126

The amount of Bitshares in 1/100000 BTS.


amountSatoshi

amountSatoshi: number

Defined in pkg/accs/accs.ts:131

The amount of Bitcoin in Satoshi 1/100000000 BTC.


bitcoinTxID

bitcoinTxID: string

Defined in pkg/accs/accs.ts:161

The Bitcoin transaction id the user wants to spend.


bitsharesAccountID

bitsharesAccountID: string

Defined in pkg/accs/accs.ts:111

The user's own Bitshares account ID.


bitsharesAsset

bitsharesAsset: string

Defined in pkg/accs/accs.ts:176

The asset on Bitshares blockchain. Either BTS or TEST.


bitsharesEndpoint

bitsharesEndpoint: string

Defined in pkg/accs/accs.ts:181

The endpoint address of the Bitshares node to connect to.


bitsharesPrivateKey

bitsharesPrivateKey: string

Defined in pkg/accs/accs.ts:116

The user's own Bitshares private key.


checkAPIInterval

checkAPIInterval: number

Defined in pkg/accs/accs.ts:186

The interval in seconds the APIs get called.


counterpartyBitsharesAccountID

counterpartyBitsharesAccountID: string

Defined in pkg/accs/accs.ts:121

The counterparty's Bitshares account ID.


counterpartyKeyPairCompressedBTC

counterpartyKeyPairCompressedBTC: ECPairInterface

Defined in pkg/accs/accs.ts:141

The counterparty's Bitcoin compressed keypair. Only contains a public key!


keyPairCompressedBTC

keyPairCompressedBTC: ECPairInterface

Defined in pkg/accs/accs.ts:136

The user's own Bitcoin compressed keypair.


mode

mode: string

Defined in pkg/accs/accs.ts:96

The transaction mode. Either proposer or accepter.


network

network: Network

Defined in pkg/accs/accs.ts:166

The Bitcoin network object.


networkName

networkName: string

Defined in pkg/accs/accs.ts:171

The network name. Either mainnet or testnet.


priority

priority: number

Defined in pkg/accs/accs.ts:106

The Bitcoin transaction priority (0 = high, 1 = medium, 2 = low)


secret

secret: Secret

Defined in pkg/accs/accs.ts:156

A secret object with a random preimage and its corresponding SHA256 hash.


timelockBTC

timelockBTC: number

Defined in pkg/accs/accs.ts:146

The timelock for the Bitcoin blockchain in blocks.


timelockBTS

timelockBTS: number

Defined in pkg/accs/accs.ts:151

The timelock for the Bitshares blockchain in seconds.


type

type: string

Defined in pkg/accs/accs.ts:101

The transaction type. Either BTC or BTS.