Skip to content

Commit

Permalink
changed Mumbai to Amoy
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Dec 13, 2024
1 parent ec3ffef commit 14bcf35
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/blockchain/blockchain-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ An Audit Report ic created by [0xMacro](https://0xmacro.com/)
## Contracts
And also smart contracts are deployed:

1- [Goerli Network](https://goerli.etherscan.io/token/0x4fE33FB41B2A50ac82732C0399C9e2A82C1cBb5E)
1- [Sepolia Network](https://sepolia.etherscan.io/address/0x22f6A309241216B85CF966f47a5ad6f77a0C166c)

2- [Mumbai Network](https://mumbai.polygonscan.com/token/0x99a8b2B50c4bFBf916Add5DFdf680fc873FA81f4)
2- [Amoy Network](https://www.oklink.com/amoy/address/0x26a35A943231DC8C4C9B0A1756e23A42aDbA54fe)

## Explorer
And a network explorer is made avaialbe here:
Expand Down
2 changes: 1 addition & 1 deletion docs/functionyard/fxblox-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Please make sure to first uninstall (not update) any previous version of FxBlox
4. Enter a memorable password for data encryption and click `Sign` (Note: This is not your Metamask password).
5. Complete the connection in the Metamask app, then return to the FxBlox app.
- You may need to click back to manually return to the app if it does not open Blox automatically after you sign in Metamask
- It does not matter which chain (Ethereum, Mumbai, etc) you are on in your Metamask wallet.
- It does not matter which chain (Ethereum, Amoy, etc) you are on in your Metamask wallet.
6. Tap `Connect to new blox`.
7. Manually connect your phone to the "FxBlox" WiFi/Hotspot, and turn off "mobile data", then continue in the app.

Expand Down
36 changes: 18 additions & 18 deletions docs/functionyard/metamask.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ title: Token in Metamask
id: metamask
---

## Adding BORG Token to MetaMask on Mumbai Chain
## Adding BORG Token to MetaMask on Amoy Chain

This guide explains how to add the BORG token, which is not automatically listed in MetaMask, to your wallet on the Mumbai test network. There is an easy way and a manual way!
This guide explains how to add the BORG token, which is not automatically listed in MetaMask, to your wallet on the Amoy test network. There is an easy way and a manual way!

## Easy Way (Desktop)

1. Adding `Mumbai` Network to Metamask: First, open [this link to add Mumbai testnet to your MetaMask](https://chainlist.org/chain/80001). Now click on the `Add to Metamask` button. It will open your Metamask extension on Chrome and add Mumbai Network to it (if not already added).
1. Adding `Amoy` Network to Metamask: First, open [this link to add Amoy testnet to your MetaMask](https://chainlist.org/chain/80002). Now click on the `Add to Metamask` button. It will open your Metamask extension on Chrome and add Amoy Network to it (if not already added).

![mumbai connect button](/img/fxyard-network/mubai-connect-button.png)
![amoy connect button](/img/fxyard-network/mubai-connect-button.png)

2. Adding the `BORG` token on `Mumbai`: First, open [this link to add Borg to Mumbai network](https://docs.metamask.io/wallet/reference/wallet_watchasset/?type=ERC20&options[address]=0x99a8b2B50c4bFBf916Add5DFdf680fc873FA81f4&options[symbol]=BORG&options[decimals]=18&options[image]=https://raw.githubusercontent.com/functionland/sugarfunge-explorer/master/assets/BORG.svg&options[tokenId]=BORG) and on the bottom right (you may need to scroll), click on the `Send Request` button. It opens your Metamask extension on Chrome and adds the `BORG` token to the `Mumbai` network (if not already added).
2. Adding the `BORG` token on `Amoy`: First, open [this link to add Borg to Amoy network](https://docs.metamask.io/wallet/reference/wallet_watchasset/?type=ERC20&options[address]=0x22f6A309241216B85CF966f47a5ad6f77a0C166c&options[symbol]=BORG&options[decimals]=18&options[image]=https://raw.githubusercontent.com/functionland/sugarfunge-explorer/master/assets/BORG.svg&options[tokenId]=BORG) and on the bottom right (you may need to scroll), click on the `Send Request` button. It opens your Metamask extension on Chrome and adds the `BORG` token to the `Amoy` network (if not already added).

<div class="text--center">
<img src="/img/fxyard-network/connect-borg-button.png" />
Expand All @@ -23,19 +23,19 @@ This guide explains how to add the BORG token, which is not automatically listed

In Metamask mobile, you have to be using the browser that is available in the MetaMask app for the sites to recognize your Metamask wallet.

1. Copy/Paste https://chainlist.org/chain/80001 into the Metamask web browser.
2. Click on `Connect Wallet` under where it says `Mumbai`. Confirm popup.
1. Copy/Paste https://chainlist.org/chain/80002 into the Metamask web browser.
2. Click on `Connect Wallet` under where it says `Amoy`. Confirm popup.
<div class="text--center">
<img src="/img/fxyard-network/mobile-mm-connect.png" style={{width: 500}}/>
</div>
3. Copy/Paste, into a new tab of the Metamask web browser, https://docs.metamask.io/wallet/reference/wallet_watchasset/?type=ERC20&options[address]=0x99a8b2B50c4bFBf916Add5DFdf680fc873FA81f4&options[symbol]=BORG&options[decimals]=18&options[image]=https://raw.githubusercontent.com/functionland/sugarfunge-explorer/master/assets/BORG.svg&options[tokenId]=BORG.
3. Copy/Paste, into a new tab of the Metamask web browser, https://docs.metamask.io/wallet/reference/wallet_watchasset/?type=ERC20&options[address]=0x22f6A309241216B85CF966f47a5ad6f77a0C166c&options[symbol]=BORG&options[decimals]=18&options[image]=https://raw.githubusercontent.com/functionland/sugarfunge-explorer/master/assets/BORG.svg&options[tokenId]=BORG.
4. Scroll all the way down to the `Send Request` button. Confirm popup.

## Manual Way (Mobile/Desktop)

#### Step 1: Select the Mumbai Network in MetaMask
#### Step 1: Select the Amoy Network in MetaMask

Ensure you have MetaMask installed and select the Mumbai Testnet. If Mumbai is not listed:
Ensure you have MetaMask installed and select the Amoy Testnet. If Amoy is not listed:

1. **Select "Add Network" manually**.
<!-- New lines necessary for proper rendered styling on webpage -->
Expand All @@ -49,9 +49,9 @@ Ensure you have MetaMask installed and select the Mumbai Testnet. If Mumbai is n

* Alternatively, you can go to `Settings` -> `Networks` -> `Add network`, then `Custom Networks` or `Add a network manually`.
2. **Enter the following details**:
- Network Name: Mumbai Testnet
- New RPC URL: `https://rpc-mumbai.maticvigil.com/`
- Chain ID: `80001`
- Network Name: Amoy Testnet
- New RPC URL: `https://rpc-amoy.polygon.technology`
- Chain ID: `80002`
- Currency Symbol: `MATIC`
- Block Explorer URL: `https://polygonscan.com/`

Expand All @@ -61,16 +61,16 @@ Ensure you have MetaMask installed and select the Mumbai Testnet. If Mumbai is n
2. Go to the `Assets` or `Tokens` tab
3. Scroll down and click `Import Tokens`
4. Switch to the `Custom Token` tab
5. Enter the BORG Token Contract Address: `0x99a8b2B50c4bFBf916Add5DFdf680fc873FA81f4`
5. Enter the BORG Token Contract Address: `0x22f6A309241216B85CF966f47a5ad6f77a0C166c`
- The token symbol and decimals should auto-fill. If not, you may need to enter them manually.
6. Click `Add Custom Token`
7. Review the token details and click `Import Tokens`

Congratulations, the BORG token is now added to your MetaMask wallet on the Mumbai chain!
Congratulations, the BORG token is now added to your MetaMask wallet on the Amoy chain!

## Troubleshoot

1. **BORG token no longer shows in Metamask wallet.** This may be because the Mumbai chain rpc provider is unavailable. You can remedy this by redoing the steps outlined in this guide ([easy way](#adding-borg-token-to-metamask-on-mumbai-chain) or [manual way](#manual-way-mobiledesktop)).
2. **Error when adding Mumbai chain.** This may occur because the Mumbai chain rpc provider is unavailable, if you are selecting a provider from the list, make sure that it has a green check mark for both `Score` and `Privacy`. This will most likely occur when doing the [manual way](#manual-way-mobiledesktop).
1. **BORG token no longer shows in Metamask wallet.** This may be because the Amoy chain rpc provider is unavailable. You can remedy this by redoing the steps outlined in this guide ([easy way](#adding-borg-token-to-metamask-on-mumbai-chain) or [manual way](#manual-way-mobiledesktop)).
2. **Error when adding Amoy chain.** This may occur because the Amoy chain rpc provider is unavailable, if you are selecting a provider from the list, make sure that it has a green check mark for both `Score` and `Privacy`. This will most likely occur when doing the [manual way](#manual-way-mobiledesktop).

![mumbai chain options](/img/fxyard-network/mumbai_options.png)
![Amoy chain options](/img/fxyard-network/mumbai_options.png)

0 comments on commit 14bcf35

Please sign in to comment.