Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 41a03c5

Browse files
committed
Remove config.sidechainAmbAddress, add factorySidechainAddress.
1 parent a8bab9e commit 41a03c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type StreamrClientOptions = {
4141
minimumWithdrawTokenWei?: BigNumber|number|string,
4242
sidechainTokenAddress?: string
4343
factoryMainnetAddress?: string
44-
sidechainAmbAddress?: string
44+
factorySidechainAddress?: string
4545
payForSignatureTransport?: boolean
4646
cache?: {
4747
maxSize?: number,
@@ -94,7 +94,7 @@ export default function ClientConfig(opts: Partial<StreamrClientOptions> = {}) {
9494
minimumWithdrawTokenWei: '1000000', // Threshold value set in AMB configs, smallest token amount to pass over the bridge
9595
sidechainTokenAddress: undefined, // TODO // sidechain token
9696
factoryMainnetAddress: undefined, // TODO // Data Union factory that creates a new Data Union
97-
sidechainAmbAddress: undefined, // Arbitrary Message-passing Bridge (AMB), see https://github.com/poanetwork/tokenbridge
97+
factorySidechainAddress: undefined,
9898
payForSignatureTransport: true, // someone must pay for transporting the withdraw tx to mainnet, either us or bridge operator
9999
cache: {
100100
maxSize: 10000,

0 commit comments

Comments
 (0)