Skip to content

Commit ee61d6f

Browse files
1.35.4-0.0.2: [chore] Add Fantom networks (#746)
* 1.35.4-0.0.2: [chore] Add Fantom networks * fix formatting
1 parent d9736b8 commit ee61d6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bnc-onboard",
3-
"version": "1.35.4-0.0.1",
3+
"version": "1.35.4-0.0.2",
44
"description": "Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.",
55
"keywords": [
66
"ethereum",

src/utilities.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,9 @@ export function networkName(id: number): string {
390390
56: 'bsc',
391391
100: 'xdai',
392392
137: 'polygon',
393-
288: 'boba-mainnet'
393+
288: 'boba-mainnet',
394+
250: 'fantom-opera',
395+
4002: 'fantom-testnet'
394396
} as { [key: number]: string }
395397
)[id] || 'unknown'
396398
}

0 commit comments

Comments
 (0)