Skip to content

Commit

Permalink
add base chain
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Mar 29, 2024
1 parent 99894d3 commit a07f543
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ src/test.ts
test*
*.DS_Store
src/helpers/elrond/elrond-test.ts
run1.ts
2 changes: 1 addition & 1 deletion src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export enum MainNetRpcUri {
CASPER = "https://rpc.mainnet.casperlabs.io/rpc",
ZETA = "",
ENERGI = "",
BASE = "",
BASE = "https://base.llamarpc.com",
FINDORA = "",
// TODO: Algorand
}
Expand Down
22 changes: 22 additions & 0 deletions src/factory/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,17 @@ export namespace ChainFactoryConfigs {

provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.BITGERT),
},
baseParams: {
erc721Minter: "0xD830c11257C985f0f874537bF36AC142C6Fc74a6",
erc1155Minter: "0x463E4A5eA947D9DFC250687E469AA487cbD8e1A7",
erc1155_addr: "0xDeef1B63258D22422597A630D725Fa7DDa0F5457",
erc721_addr: "0x97feC8ed7203Ea3cE58e2A4F44056Fd954a35BE4",
minter_addr: "0xBd68244C35E660A328266c9cc1411a69992D022D",
feeMargin,
nonce: Chain.BASE,
notifier,
provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.BASE),
},
nearParams: {
networkId: "mainnet",
nonce: Chain.NEAR,
Expand Down Expand Up @@ -985,6 +996,17 @@ export namespace ChainFactoryConfigs {

provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.BITGERT),
},
baseParams: {
erc721Minter: "0xD830c11257C985f0f874537bF36AC142C6Fc74a6",
erc1155Minter: "0x463E4A5eA947D9DFC250687E469AA487cbD8e1A7",
erc1155_addr: "0xDeef1B63258D22422597A630D725Fa7DDa0F5457",
erc721_addr: "0x97feC8ed7203Ea3cE58e2A4F44056Fd954a35BE4",
minter_addr: "0xBd68244C35E660A328266c9cc1411a69992D022D",
feeMargin,
nonce: Chain.BASE,
notifier,
provider: new ethers.providers.JsonRpcProvider(MainNetRpcUri.BASE),
},
dfinityParams: {
agent: new HttpAgent({
host: "https://ic0.app",
Expand Down

0 comments on commit a07f543

Please sign in to comment.