Skip to content

Commit b8e33a7

Browse files
committed
Add Plasma
1 parent 8d226b1 commit b8e33a7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ ethereum-sepolia.publicnode.com,\
2424
arbitrum-one-rpc.publicnode.com,\
2525
base.llamarpc.com,\
2626
rpc.lens.xyz,\
27-
rpc.linea.build" \
27+
rpc.linea.build,\
28+
rpc.plasma.to" \
2829
-- \
2930
"$base_path/replace-owners.ts" \
3031
"$@"

src/networks.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export type SupportedNetworks =
1010
| "Arbitrum One"
1111
| "Base"
1212
| "Lens"
13-
| "Linea";
13+
| "Linea"
14+
| "Plasma";
1415

1516
export function getRpc(network: SupportedNetworks): string {
1617
// For more information about the RPC nodes: https://chainlist.org/
@@ -39,6 +40,8 @@ export function getRpc(network: SupportedNetworks): string {
3940
return "https://rpc.lens.xyz";
4041
case "Linea":
4142
return "https://rpc.linea.build";
43+
case "Plasma":
44+
return "https://rpc.plasma.to";
4245
default:
4346
throw new Error(`Invalid network ${network}`);
4447
}

0 commit comments

Comments
 (0)