@effectai/effect-js
Version:
Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))
92 lines (91 loc) • 1.87 kB
TypeScript
export interface ClientConfig {
/**
* The network to connect to.
* @default mainnet
*/
network: string;
/**
* EOS Explorer Url
* @default https://bloks.io
*/
explorerUrl: string;
/**
* EOS RPC node URL
* Specify the protocol prefix and port postfix
*/
eosRpcUrl: string;
/**
* ID of the EOS chain
*/
eosChainId: string;
/**
* IPFS endopint
* @default https://ipfs.effect.ai
*/
ipfsEndpoint: string;
/**
* Atomic Hub IPFS endpoint
* @default https://atomichub-ipfs.com/ipfs/
*/
atomicHubIpfsEndpoint: string;
/**
* Atomic Hub Asset endpoint
* @default https://eos.atomichub.io/explorer/asset/
*/
atomicHubAssetEndpoint: string;
/**
* Force Contract
* @default tasks.efx
*/
tasksContract: string;
/**
* Account Contract
* @default vaccount.efx
*/
vaccountContract: string;
/**
* EFX Token account
* @default effecttokens
*/
tokenContract: string;
/**
* Effect DAO Contract
*/
daoContract: string;
/**
* Atomic Assets Contract
*/
atomicAssetsContract: string;
stakeContract: string;
feepoolContract: string;
proposalsContract: string;
/**
* EFX Token Symbol
* @default EFX
*/
efxSymbol: string;
/**
* EFX Token Precision
* @default 4
*/
efxPrecision: number;
/**
* Eos Relayer
*/
eosRelayerAccount: string;
/**
* Relayer Permission
* @default "active"
*/
eosRelayerPermission: string;
/**
* Relayer url
* @default ""
*/
eosRelayerUrl: string;
/**
* Cache ipfs requests, enable or disable the ability to cache ipfs requests.
* @default true
*/
ipfsCache: boolean;
}