Skip to content

Commit

Permalink
feat: add localnet chain (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
gacevicljubisa authored Sep 28, 2023
1 parent a40c3ed commit 4e613b4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkg/wallet/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ var chainToSwarmTokenMap = map[int64]Token{
Symbol: "xBZZ",
Decimals: SwarmTokenDecimals,
},

// Localnet
12345: {
Contract: common.HexToAddress("0x6aab14fe9cccd64a502d23842d916eb5321c26e7"),
Symbol: "tBZZ",
Decimals: SwarmTokenDecimals,
},
}

var chainToNativeCoinMap = map[int64]Token{
Expand All @@ -46,6 +53,12 @@ var chainToNativeCoinMap = map[int64]Token{
Symbol: "xDAI",
Decimals: 18,
},

// Localnet
12345: {
Symbol: "tETH",
Decimals: 18,
},
}

type TokenInfoGetterFn = func(cid int64) (Token, error)
Expand Down

0 comments on commit 4e613b4

Please sign in to comment.