Skip to content

Commit 722937a

Browse files
committed
Update matic.js docs
- Testnet version mumbai -> amoy
1 parent 219281b commit 722937a

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

docs/tools/matic-js/advanced/abi-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The network name, contract name, bridge name etc can be taken from our [official
3434
import { ABIManager } from '@maticnetwork/maticjs'
3535

3636

37-
const manager = new ABIManager('testnet','mumbai');
37+
const manager = new ABIManager('testnet','amoy');
3838
await manager.init();
3939

4040
// set abi

docs/tools/matic-js/advanced/exit-util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const client = new Web3SideChainClient<any>();
2121
await client.init({
2222
// log: true,
2323
network: 'testnet',
24-
version: 'mumbai',
24+
version: 'amoy',
2525
parent: {
2626
provider: new HDWalletProvider(privateKey, RPC.parent),
2727
defaultConfig: {
@@ -66,7 +66,7 @@ use(Web3ClientPlugin);
6666
const posClient = new POSClient();
6767
await posClient.init({
6868
network: 'testnet',
69-
version: 'mumbai',
69+
version: 'amoy',
7070
parent: {
7171
provider: new HDWalletProvider(privateKey, mainRPC),
7272
defaultConfig: {

docs/tools/matic-js/pos/client.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use(Web3ClientPlugin);
1818
const posClient = new POSClient();
1919
await posClient.init({
2020
network: 'testnet',
21-
version: 'mumbai',
21+
version: 'amoy',
2222
parent: {
2323
provider: new HDWalletProvider(privateKey, mainRPC),
2424
defaultConfig: {
@@ -39,13 +39,13 @@ After the `POSClient` is initiated, we can work with token types, such as `erc20
3939

4040
### ERC20
4141

42-
**Create erc20 child token**
42+
#### Create ERC20 child token
4343

4444
```js
4545
const erc20ChildToken = posClient.erc20(<token address>);
4646
```
4747

48-
**Create erc20 parent token**
48+
#### Create ERC20 parent token
4949

5050
```js
5151
const erc20ParentToken = posClient.erc20(<token address>, true);

docs/tools/matic-js/setup/ethers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const childProvider = new providers.JsonRpcProvider(rpc.child);
4141
const posClient = new POSClient();
4242
await posClient.init({
4343
network: 'testnet',
44-
version: 'mumbai',
44+
version: 'amoy',
4545
parent: {
4646
provider: new Wallet(privateKey, parentProvider),
4747
defaultConfig: {

docs/tools/matic-js/setup/web3js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use(Web3ClientPlugin);
3737
const posClient = new POSClient();
3838
await posClient.init({
3939
network: 'testnet',
40-
version: 'mumbai',
40+
version: 'amoy',
4141
parent: {
4242
provider: new HDWalletProvider(privateKey, mainRPC),
4343
defaultConfig: {

docs/tools/storage/crusthelpers.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55

66
The protocol matches people who have hard drive space to spare with those who need to store data or host content. Crust supports most smart contract platforms with its cross-chain solution, including Polygon. Find out all the platforms that Crust storage supports on their [official website](https://crust.network/).
77

8-
:::info Learn more about Crust Network
9-
10-
Check out the **[Decentralized Storage Market](https://wiki.crust.network/docs/en/DSM)** and **[Cross-chain Storage Solution](https://wiki.crust.network/docs/en/buildCrossChainSolution#ii-native-ipfs-integration)** offered by Crust Network. Also, you can start building with **[Crust Build-101](https://wiki.crust.network/docs/en/build101)**.
11-
12-
:::
8+
!!! info "Learn more about Crust Network"
9+
Check out the **[Decentralized Storage Market](https://wiki.crust.network/docs/en/DSM)** and **[Cross-chain Storage Solution](https://wiki.crust.network/docs/en/buildCrossChainSolution#ii-native-ipfs-integration)** offered by Crust Network. Also, you can start building with **[Crust Build-101](https://wiki.crust.network/docs/en/build101)**.
1310

1411
## Crust storage helpers
1512

0 commit comments

Comments
 (0)