Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/delegation-deployments/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Add chain deployment for Celo and Ronin mainnet and testnets ([#173](https://github.com/MetaMask/smart-accounts-kit/pull/173))
- Add chain deployment for Citrea mainnet ([#180](https://github.com/MetaMask/smart-accounts-kit/pull/180))

## [0.16.0]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,21 @@ const roninSaigonChain: Chain = {
},
};

const citreaMainnetChain: Chain = {
id: 4114,
name: 'Citrea Mainnet',
rpcUrls: {
default: {
http: ['https://rpc.mainnet.citrea.xyz'],
},
},
nativeCurrency: {
name: 'cBTC',
symbol: 'cBTC',
decimals: 18,
},
};

export const chains = {
...allChains,
megaEthTestNet: megaEthTestNetChain,
Expand All @@ -255,6 +270,7 @@ export const chains = {
roninSaigon: roninSaigonChain,
tempoModeratoTestnet: tempoModeratoTestnetChain,
tempoMainnet: tempoMainnetChain,
citreaMainnet: citreaMainnetChain,
} as any as { [key: string]: Chain };

// The default rpc urls for these chains are not reliable, so we override them
Expand Down
2 changes: 2 additions & 0 deletions packages/delegation-deployments/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const CHAIN_ID = {
celo: 0xa4ec,
ronin: 0x7e4,
tempoMainnet: 0x1079,
citreaMainnet: 0x1012,
// Testnets
bscTestnet: 0x61,
arbitrumSepolia: 0x66eee,
Expand Down Expand Up @@ -111,6 +112,7 @@ export const DELEGATOR_CONTRACTS: DeployedContracts = {
[CHAIN_ID.celo]: DEPLOYMENTS_1_3_0,
[CHAIN_ID.ronin]: DEPLOYMENTS_1_3_0,
[CHAIN_ID.tempoMainnet]: DEPLOYMENTS_1_3_0,
[CHAIN_ID.citreaMainnet]: DEPLOYMENTS_1_3_0,
// Testnets
[CHAIN_ID.bscTestnet]: DEPLOYMENTS_1_3_0,
[CHAIN_ID.citreaTestnet]: DEPLOYMENTS_1_3_0,
Expand Down
Loading