1 | export interface ClientConfig {
|
2 | /**
|
3 | * The network to connect to.
|
4 | * @default mainnet
|
5 | */
|
6 | network: string;
|
7 | /**
|
8 | * EOS Explorer Url
|
9 | * @default https://bloks.io
|
10 | */
|
11 | explorerUrl: string;
|
12 | /**
|
13 | * EOS RPC node URL
|
14 | * Specify the protocol prefix and port postfix
|
15 | */
|
16 | eosRpcUrl: string;
|
17 | /**
|
18 | * ID of the EOS chain
|
19 | */
|
20 | eosChainId: string;
|
21 | /**
|
22 | * IPFS endopint
|
23 | * @default https://ipfs.effect.ai
|
24 | */
|
25 | ipfsEndpoint: string;
|
26 | /**
|
27 | * Atomic Hub IPFS endpoint
|
28 | * @default https://atomichub-ipfs.com/ipfs/
|
29 | */
|
30 | atomicHubIpfsEndpoint: string;
|
31 | /**
|
32 | * Atomic Hub Asset endpoint
|
33 | * @default https://eos.atomichub.io/explorer/asset/
|
34 | */
|
35 | atomicHubAssetEndpoint: string;
|
36 | /**
|
37 | * Force Contract
|
38 | * @default tasks.efx
|
39 | */
|
40 | tasksContract: string;
|
41 | /**
|
42 | * Account Contract
|
43 | * @default vaccount.efx
|
44 | */
|
45 | vaccountContract: string;
|
46 | /**
|
47 | * EFX Token account
|
48 | * @default effecttokens
|
49 | */
|
50 | tokenContract: string;
|
51 | /**
|
52 | * Effect DAO Contract
|
53 | */
|
54 | daoContract: string;
|
55 | /**
|
56 | * Atomic Assets Contract
|
57 | */
|
58 | atomicAssetsContract: string;
|
59 | stakeContract: string;
|
60 | feepoolContract: string;
|
61 | proposalsContract: string;
|
62 | /**
|
63 | * EFX Token Symbol
|
64 | * @default EFX
|
65 | */
|
66 | efxSymbol: string;
|
67 | /**
|
68 | * EFX Token Precision
|
69 | * @default 4
|
70 | */
|
71 | efxPrecision: number;
|
72 | /**
|
73 | * Eos Relayer
|
74 | */
|
75 | eosRelayerAccount: string;
|
76 | /**
|
77 | * Relayer Permission
|
78 | * @default "active"
|
79 | */
|
80 | eosRelayerPermission: string;
|
81 | /**
|
82 | * Relayer url
|
83 | * @default ""
|
84 | */
|
85 | eosRelayerUrl: string;
|
86 | /**
|
87 | * Cache ipfs requests, enable or disable the ability to cache ipfs requests.
|
88 | * @default true
|
89 | */
|
90 | ipfsCache: boolean;
|
91 | }
|