Skip to content

Commit

Permalink
chore: Include Ethereum asset in ETH Mainnet network (#3152)
Browse files Browse the repository at this point in the history
* chore: include eth to mainnet

* chore: changeset

* chore: changeset

---------

Co-authored-by: Anderson Arboleya <anderson@arboleya.me>
  • Loading branch information
LuizAsFight and arboleya authored Sep 12, 2024
1 parent 5dff377 commit 5efe23d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-otters-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/account": patch
---

chore: Include Ethereum asset in ETH Mainnet network
5 changes: 5 additions & 0 deletions packages/account/src/providers/assets/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export const rawAssets: Assets = [
chainId: CHAIN_IDS.eth.foundry,
decimals: 18,
},
{
type: 'ethereum',
chainId: CHAIN_IDS.eth.mainnet,
decimals: 18,
},
{
type: 'fuel',
chainId: CHAIN_IDS.fuel.devnet,
Expand Down
1 change: 1 addition & 0 deletions packages/account/src/providers/chains.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const CHAIN_IDS = {
eth: {
mainnet: 1,
sepolia: 11155111,
foundry: 31337,
},
Expand Down

0 comments on commit 5efe23d

Please sign in to comment.