Skip to content

Commit cfec088

Browse files
ihsrahamyashovardhan
authored andcommitted
Modified other blockchains
1 parent aa6e682 commit cfec088

File tree

11 files changed

+161
-260
lines changed

11 files changed

+161
-260
lines changed

docs/connect-blockchain/other/algorand.mdx

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -50,39 +50,29 @@ npm install --save algosdk
5050
value="mainnet"
5151
>
5252

53-
```typescript
54-
const chainConfig = {
55-
chainNamespace: "other",
56-
chainId: "Algorand", //
57-
rpcTarget: "https://api.algoexplorer.io",
58-
// Avoid using public rpcTarget in production.
59-
// Use services like PureStake, AlgoExplorer API, etc.
60-
displayName: "Algorand Mainnet",
61-
blockExplorerUrl: "https://algoexplorer.io",
62-
ticker: "ALGO",
63-
tickerName: "Algorand",
64-
};
65-
```
53+
- Chain Namespace: other
54+
- Chain ID: Algorand
55+
- Public RPC URL: https://api.algoexplorer.io (Avoid using public rpcTarget in production, use
56+
services like PureStake, AlgoExplorer API, etc.)
57+
- Display Name: Algorand Mainnet
58+
- Block Explorer Link: https://algoexplorer.io
59+
- Ticker: ALGO
60+
- Ticker Name: Algorand
6661

6762
</TabItem>
6863

6964
<TabItem
7065
value="testnet"
7166
>
7267

73-
```typescript
74-
const chainConfig = {
75-
chainNamespace: "other",
76-
chainId: "0x3E9", //
77-
rpcTarget: "https://api.algoexplorer.io",
78-
// Avoid using public rpcTarget in production.
79-
// Use services like PureStake, AlgoExplorer API, etc.
80-
displayName: "Algorand Testnet",
81-
blockExplorerUrl: "https://testnet.algoexplorer.io",
82-
ticker: "tALGO",
83-
tickerName: "Algorand",
84-
};
85-
```
68+
- Chain Namespace: other
69+
- Chain ID: 0x3E9
70+
- Public RPC URL: https://api.algoexplorer.io (Avoid using public rpcTarget in production, use
71+
services like PureStake, AlgoExplorer API, etc.)
72+
- Display Name: Algorand Testnet
73+
- Block Explorer Link: https://testnet.algoexplorer.io
74+
- Ticker: tALGO
75+
- Ticker Name: Algorand
8676

8777
</TabItem>
8878
</Tabs>

docs/connect-blockchain/other/aptos.mdx

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -70,35 +70,27 @@ npm install --save @aptos-labs/ts-sdk
7070
value="mainnet"
7171
>
7272

73-
```typescript
74-
const chainConfig = {
75-
chainNamespace: "other",
76-
chainId: "0x1",
77-
rpcTarget: "https://fullnode.mainnet.aptoslabs.com/v1",
78-
displayName: "Aptos Mainnet",
79-
blockExplorerUrl: "https://explorer.aptoslabs.com/",
80-
ticker: "APT",
81-
tickerName: "Aptos",
82-
};
83-
```
73+
- Chain Namespace: other
74+
- Chain ID: 0x1
75+
- Public RPC URL: https://fullnode.mainnet.aptoslabs.com/v1
76+
- Display Name: Aptos Mainnet
77+
- Block Explorer Link: https://explorer.aptoslabs.com/
78+
- Ticker: APT
79+
- Ticker Name: Aptos
8480

8581
</TabItem>
8682

8783
<TabItem
8884
value="testnet"
8985
>
9086

91-
```typescript
92-
const chainConfig = {
93-
chainNamespace: "other",
94-
chainId: "0x7E6",
95-
rpcTarget: "https://fullnode.testnet.aptoslabs.com/v1",
96-
displayName: "Aptos Testnet",
97-
blockExplorerUrl: "https://explorer.aptoslabs.com/testnet",
98-
ticker: "APT",
99-
tickerName: "Aptos",
100-
};
101-
```
87+
- Chain Namespace: other
88+
- Chain ID: 0x7E6
89+
- Public RPC URL: https://fullnode.testnet.aptoslabs.com/v1
90+
- Display Name: Aptos Testnet
91+
- Block Explorer Link: https://explorer.aptoslabs.com/testnet
92+
- Ticker: APT
93+
- Ticker Name: Aptos
10294

10395
</TabItem>
10496
</Tabs>

docs/connect-blockchain/other/bitcoin.mdx

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,35 +58,29 @@ npm install --save bitcoinjs-lib ecpair axios
5858
value="mainnet"
5959
>
6060

61-
```typescript
62-
const chainConfig = {
63-
chainNamespace: CHAIN_NAMESPACES.OTHER,
64-
chainId: "Bitcoin", //
65-
rpcTarget: "https://api.blockcypher.com/v1/btc/main", // Avoid using public rpcTarget in production.
66-
displayName: "Bitcoin Mainnet",
67-
blockExplorerUrl: "https://blockstream.info/",
68-
ticker: "BTC",
69-
tickerName: "Bitcoin",
70-
};
71-
```
61+
- Chain Namespace: OTHER
62+
- Chain ID: Bitcoin
63+
- Public RPC URL: https://api.blockcypher.com/v1/btc/main (Avoid using public rpcTarget in
64+
production)
65+
- Display Name: Bitcoin Mainnet
66+
- Block Explorer Link: https://blockstream.info/
67+
- Ticker: BTC
68+
- Ticker Name: Bitcoin
7269

7370
</TabItem>
7471

7572
<TabItem
7673
value="testnet"
7774
>
7875

79-
```typescript
80-
const chainConfig = {
81-
chainNamespace: CHAIN_NAMESPACES.OTHER,
82-
chainId: "Bitcoin", //
83-
rpcTarget: "https://api.blockcypher.com/v1/btc/test3", // Avoid using public rpcTarget in production.
84-
displayName: "Bitcoin Testnet",
85-
blockExplorerUrl: "https://blockstream.info/testnet/",
86-
ticker: "tBTC",
87-
tickerName: "Bitcoin Testnet",
88-
};
89-
```
76+
- Chain Namespace: OTHER
77+
- Chain ID: Bitcoin
78+
- Public RPC URL: https://api.blockcypher.com/v1/btc/test3 (Avoid using public rpcTarget in
79+
production)
80+
- Display Name: Bitcoin Testnet
81+
- Block Explorer Link: https://blockstream.info/testnet/
82+
- Ticker: tBTC
83+
- Ticker Name: Bitcoin Testnet
9084

9185
</TabItem>
9286
</Tabs>

docs/connect-blockchain/other/cosmos.mdx

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -49,37 +49,28 @@ npm install --save @web3auth/no-modal @web3auth/auth-adapter @web3auth/base @cos
4949
value="mainnet"
5050
>
5151

52-
```typescript
53-
const chainConfig = {
54-
chainNamespace: "other",
55-
chainId: "cosmoshub-4", //
56-
rpcTarget: "https://cosmos-rpc.quickapi.com", // Please add in your custom URL
57-
// Avoid using public rpcTarget in production.
58-
displayName: "Cosmos Mainnet",
59-
blockExplorerUrl: "https://www.mintscan.io/cosmos", // Please add in your custom URL
60-
ticker: "ATOM",
61-
tickerName: "Cosmos",
62-
};
63-
```
52+
- Chain Namespace: other
53+
- Chain ID: cosmoshub-4
54+
- Public RPC URL: https://cosmos-rpc.quickapi.com (Avoid using public rpcTarget in production)
55+
- Display Name: Cosmos Mainnet
56+
- Block Explorer Link: https://www.mintscan.io/cosmos
57+
- Ticker: ATOM
58+
- Ticker Name: Cosmos
6459

6560
</TabItem>
6661

6762
<TabItem
6863
value="testnet"
6964
>
7065

71-
```typescript
72-
const chainConfig = {
73-
chainNamespace: "other",
74-
chainId: "theta-testnet-001", //
75-
rpcTarget: "https://rpc.sentry-02.theta-testnet.polypore.xyz",
76-
// Avoid using public rpcTarget in production.
77-
displayName: "Cosmos Testnet",
78-
blockExplorerUrl: "https://explorer.theta-testnet.polypore.xyz",
79-
ticker: "ATOM",
80-
tickerName: "Cosmos",
81-
};
82-
```
66+
- Chain Namespace: other
67+
- Chain ID: theta-testnet-001
68+
- Public RPC URL: https://rpc.sentry-02.theta-testnet.polypore.xyz (Avoid using public rpcTarget in
69+
production)
70+
- Display Name: Cosmos Testnet
71+
- Block Explorer Link: https://explorer.theta-testnet.polypore.xyz
72+
- Ticker: ATOM
73+
- Ticker Name: Cosmos
8374

8475
</TabItem>
8576
</Tabs>

docs/connect-blockchain/other/immutablex.mdx

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,37 +52,27 @@ npm install --save @imtbl/core-sdk
5252
value="mainnet"
5353
>
5454

55-
```typescript
56-
const chainConfig = {
57-
chainNamespace: CHAIN_NAMESPACES.EIP155,
58-
chainId: "0x1", //
59-
rpcTarget: "https://rpc.ethereum.org",
60-
// Avoid using public rpcTarget in production.
61-
displayName: "ImmutableX Mainnet",
62-
blockExplorerUrl: "https://explorer.immutable.com",
63-
ticker: "IMX",
64-
tickerName: "ImmutableX",
65-
};
66-
```
55+
- Chain Namespace: EIP155
56+
- Chain ID: 0x1
57+
- Public RPC URL: https://rpc.ethereum.org (Avoid using public rpcTarget in production)
58+
- Display Name: ImmutableX Mainnet
59+
- Block Explorer Link: https://explorer.immutable.com
60+
- Ticker: IMX
61+
- Ticker Name: ImmutableX
6762

6863
</TabItem>
6964

7065
<TabItem
7166
value="testnet"
7267
>
7368

74-
```typescript
75-
const chainConfig = {
76-
chainNamespace: CHAIN_NAMESPACES.EIP155,
77-
chainId: "0xaa36a7", //
78-
rpcTarget: "https://rpc.sepolia.org",
79-
// Avoid using public rpcTarget in production.
80-
displayName: "ImmutableX Testnet",
81-
blockExplorerUrl: "https://explorer.testnet.immutable.com",
82-
ticker: "IMX",
83-
tickerName: "ImmutableX",
84-
};
85-
```
69+
- Chain Namespace: EIP155
70+
- Chain ID: 0xaa36a7
71+
- Public RPC URL: https://rpc.sepolia.org (Avoid using public rpcTarget in production)
72+
- Display Name: ImmutableX Testnet
73+
- Block Explorer Link: https://explorer.testnet.immutable.com
74+
- Ticker: IMX
75+
- Ticker Name: ImmutableX
8676

8777
</TabItem>
8878
</Tabs>

docs/connect-blockchain/other/polkadot.mdx

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,37 +43,27 @@ npm install --save @polkadot/keyring @polkadot/util-crypto
4343
value="mainnet"
4444
>
4545

46-
```typescript
47-
const chainConfig = {
48-
chainNamespace: "other",
49-
chainId: "Polkadot", //
50-
rpcTarget: "https://rpc.polkadot.io",
51-
// Avoid using public rpcTarget in production.
52-
displayName: "Polkadot Mainnet",
53-
blockExplorerUrl: "https://explorer.polkascan.io/polkadot",
54-
ticker: "DOT",
55-
tickerName: "Polkadot",
56-
};
57-
```
46+
- Chain Namespace: other
47+
- Chain ID: Polkadot
48+
- Public RPC URL: https://rpc.polkadot.io (Avoid using public rpcTarget in production)
49+
- Display Name: Polkadot Mainnet
50+
- Block Explorer Link: https://explorer.polkascan.io/polkadot
51+
- Ticker: DOT
52+
- Ticker Name: Polkadot
5853

5954
</TabItem>
6055

6156
<TabItem
6257
value="testnet"
6358
>
6459

65-
```typescript
66-
const chainConfig = {
67-
chainNamespace: "other",
68-
chainId: "0x5", //
69-
rpcTarget: "https://westend-rpc.polkadot.io",
70-
// Avoid using public rpcTarget in production.
71-
displayName: "Polkadot Testnet",
72-
blockExplorerUrl: "https://westend.subscan.io",
73-
ticker: "DOT",
74-
tickerName: "Polkadot",
75-
};
76-
```
60+
- Chain Namespace: other
61+
- Chain ID: 0x5
62+
- Public RPC URL: https://westend-rpc.polkadot.io (Avoid using public rpcTarget in production)
63+
- Display Name: Polkadot Testnet
64+
- Block Explorer Link: https://westend.subscan.io
65+
- Ticker: DOT
66+
- Ticker Name: Polkadot
7767

7868
</TabItem>
7969
</Tabs>

docs/connect-blockchain/other/polymesh.mdx

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -45,37 +45,27 @@ npm install --save @polymeshassociation/polymesh-sdk @polymeshassociation/local-
4545
value="mainnet"
4646
>
4747

48-
```typescript
49-
const chainConfig = {
50-
chainNamespace: "other",
51-
chainId: "0x1",
52-
rpcTarget: "https://mainnet-rpc.polymesh.network",
53-
// Avoid using public rpcTarget in production.
54-
displayName: "Polymesh Mainnet",
55-
blockExplorerUrl: "https://polymesh.subscan.io",
56-
ticker: "POLYX",
57-
tickerName: "Polymesh",
58-
};
59-
```
48+
- Chain Namespace: other
49+
- Chain ID: 0x1
50+
- Public RPC URL: https://mainnet-rpc.polymesh.network (Avoid using public rpcTarget in production)
51+
- Display Name: Polymesh Mainnet
52+
- Block Explorer Link: https://polymesh.subscan.io
53+
- Ticker: POLYX
54+
- Ticker Name: Polymesh
6055

6156
</TabItem>
6257

6358
<TabItem
6459
value="testnet"
6560
>
6661

67-
```typescript
68-
const chainConfig = {
69-
chainNamespace: "other",
70-
chainId: "0x5", //
71-
rpcTarget: "https://testnet-rpc.polymesh.live",
72-
// Avoid using public rpcTarget in production.
73-
displayName: "Polymesh Testnet",
74-
blockExplorerUrl: "https://polymesh-testnet.subscan.io",
75-
ticker: "POLYX",
76-
tickerName: "Polymesh",
77-
};
78-
```
62+
- Chain Namespace: other
63+
- Chain ID: 0x5
64+
- Public RPC URL: https://testnet-rpc.polymesh.live (Avoid using public rpcTarget in production)
65+
- Display Name: Polymesh Testnet
66+
- Block Explorer Link: https://polymesh-testnet.subscan.io
67+
- Ticker: POLYX
68+
- Ticker Name: Polymesh
7969

8070
</TabItem>
8171
</Tabs>

0 commit comments

Comments
 (0)