Skip to content

Commit f8dcbcd

Browse files
committed
feat: add nibiru chain
1 parent f6743fa commit f8dcbcd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

apps/tx-builder/src/lib/getAbi.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ export enum SUPPORTED_CHAINS {
127127
VANA_MOKSHA_TESTNET = '14800',
128128
SOPHON = '50104',
129129
SOPHON_TESTNET = '531050104',
130+
NIBIRU = 6900,
131+
NIBIRU_TESTNET = 6911,
130132
}
131133

132134
const getGatewayBaseUrl = (chain: string) => {
@@ -436,6 +438,14 @@ const getScanAPIBaseURL = (chain: string): undefined | { link: string; apiKey?:
436438
link: 'https://api-testnet.abscan.org',
437439
apiKey: process.env.REACT_APP_ABSTRACT_KEY
438440
}
441+
case SUPPORTED_CHAINS.NIBIRU:
442+
return {
443+
link: 'https://api.routescan.io/v2/network/mainnet/evm/6900/etherscan',
444+
}
445+
case SUPPORTED_CHAINS.NIBIRU_TESTNET:
446+
return {
447+
link: 'https://api.routescan.io/v2/network/testnet/evm/6911/etherscan',
448+
}
439449
default:
440450
return
441451
}

0 commit comments

Comments
 (0)