Skip to content

Commit

Permalink
-Added Pangoro network config
Browse files Browse the repository at this point in the history
-Renamed testNet to Pangolin
  • Loading branch information
isunaslabs committed Feb 22, 2023
1 parent 42f2bc0 commit 5a9d6c1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ChainConfig } from "@darwinia/app-types";

export const testNet: ChainConfig = {
export const pangolin: ChainConfig = {
name: "Pangolin",
displayName: "TestNet",
displayName: "Pangolin",
kton: {
address: "0x0000000000000000000000000000000000000402",
symbol: "PKTON",
Expand All @@ -16,7 +16,7 @@ export const testNet: ChainConfig = {
chainId: 43,
substrate: {
graphQlURL: "https://api.subquery.network/sq/isunaslabs/pangolin2",
wssURL: "ws://g1.dev.darwinia.network:20000",
wssURL: "wss://pangolin-rpc.darwinia.network/",
httpsURL: "https://pangolin-rpc.darwinia.network",
},
};
23 changes: 23 additions & 0 deletions packages/app-config/src/chains/pangoro.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ChainConfig } from "@darwinia/app-types";

export const pangoro: ChainConfig = {
name: "Pangoro",
displayName: "Pangoro",
kton: {
address: "0x0000000000000000000000000000000000000402",
symbol: "OKTON",
name: "OKTON",
decimals: 9,
},
ring: {
name: "ORING",
symbol: "ORING",
decimals: 9,
},
chainId: 43,
substrate: {
graphQlURL: "https://api.subquery.network/sq/isunaslabs/pangolin2",
wssURL: "ws://g1.dev.darwinia.network:20000",
httpsURL: "https://pangolin-rpc.darwinia.network",
},
};
5 changes: 3 additions & 2 deletions packages/app-config/src/supportedNetworks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ChainConfig } from "@darwinia/app-types";
import { crab } from "./chains/crab";
import { darwinia } from "./chains/darwinia";
import { testNet } from "./chains/testNet";
import { pangolin } from "./chains/pangolin";
import { pangoro } from "./chains/pangoro";

export const supportedNetworks: ChainConfig[] = [darwinia, crab, testNet];
export const supportedNetworks: ChainConfig[] = [pangoro, pangolin];

0 comments on commit 5a9d6c1

Please sign in to comment.