Skip to content

Commit

Permalink
added casper to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Mar 28, 2024
1 parent 822d7af commit 99894d3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export enum v3_ChainId {
ETHEREUM = "ETH",
ELROND = "MULTIVERSX",
TON = "TON",
CASPER = "CASPER",
DEFAULT = "",
}

Expand Down Expand Up @@ -836,7 +837,7 @@ CHAIN_INFO.set(Chain.CASPER, {
decimals: Decimals.CSPR,
name: "Casper",
nonce: Chain.CASPER,
v3_chainId: v3_ChainId.DEFAULT,
v3_chainId: v3_ChainId.CASPER,
type: ChainType.CASPER,
});

Expand Down
13 changes: 13 additions & 0 deletions src/factory/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,19 @@ export namespace ChainFactoryConfigs {
extraFees: new Map().set(Chain.ETHEREUM, "1"),
feeMargin: { min: 1.5, max: 5 },
},
casperParams: {
nwl: true,
bridge:
"hash-c69069b57ace632413560f3961cfb307eaa596c152279235affaae1e5f7abd55",
feeMargin,
network: "casper",
notifier,
rpc: MainNetRpcUri.CASPER,
sig: signatureSvc_prod,
umt: "to be filled",
xpnft:
"hash-63658101ba6b711ce0db13c1806513b155a6f901fbbb13eeafffc2f863f98c8a",
},
elrondParams: {
node_uri: MainNetRpcUri.ELROND,
minter_address:
Expand Down

0 comments on commit 99894d3

Please sign in to comment.