Skip to content

Commit

Permalink
fix: environments
Browse files Browse the repository at this point in the history
  • Loading branch information
aaitor committed Feb 12, 2024
1 parent ed3c806 commit 4b7f5b6
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 51 deletions.
45 changes: 25 additions & 20 deletions docs/environments/nvm-dev-envs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description: Nevermined Testnet Environments

# Testnet environments

Testnet environments are public nevermined environments deployed on public EVM-compatible testnet networks. Typically we use Polygon Mumbai.
Use [Alchemy's Mumbai Faucet](https://mumbaifaucet.com/) or [Polygon's Mumbai faucet](https://faucet.polygon.technology/) for requesting MATIC.
Testnet environments are public nevermined environments deployed on public EVM-compatible testnet networks. Typically we use Arbitrum Sepolia.
Use **[Sepolia Faucet](https://sepoliafaucet.com/)** for requesting ETH.

## Network Fee

Expand All @@ -19,41 +19,46 @@ The network fee in Nevermined testnets is **1%** and the receiver of that fee is
:::


## Polygon - Mumbai
## Arbitrum - Sepolia

### Public Mumbai deployment (v3)

This is a **public** network deployment (`TAG_NAME=public`) of the Nevermined Contracts v3 in the Polygon Mumbai network. You can use this network if you want to integrate with Nevermined in a Polygon Testnet.
This is a **public** network deployment (`TAG_NAME=public`) of the Nevermined Contracts v3 in the Arbitrum Sepolia network. You can use this network if you want to integrate with Nevermined in a Arbitrum Testnet.

The **addresses** of the Nevermined Contracts can be found here: https://artifacts.nevermined.network/80001/public/contracts_v3.0.0.json
The **addresses** of the Nevermined Contracts can be found here: https://artifacts.nevermined.network/421614/public/contracts_v3.5.6.json

The **ABIs of the contracts** to connect via SDK can be download from here: https://artifacts.nevermined.network/80001/public/contracts_v3.0.0.tar.gz
The **ABIs of the contracts** to connect via SDK can be download from here: https://artifacts.nevermined.network/421614/public/contracts_v3.5.6.tar.gz

| Environment | Network | Contracts Version | Tag | Component | URL | Comments |
|-------------|---------|-------------------|-----|-----------|-----|----------|
| [public-v3-mumbai](https://artifacts.nevermined.network/80001/public/contracts_v3.0.0.json) | Mumbai | 3.0.0 | public | Node | https://node.mumbai.public.nevermined.network | |
| public-v3-mumbai | Mumbai | - | public | Marketplace API | https://marketplace-api.mumbai.public.nevermined.network | |
| [public-v3-mumbai](https://artifacts.nevermined.network/421614/public/contracts_v3.5.6.json) | Arbitrum Sepolia | 3.5.6 | public | Node | https://node.testing.nevermined.app | |
| public-v3-mumbai | Mumbai | - | public | Marketplace API | https://marketplace-api.testing.nevermined.app | |

All the contract events are exposed via [The Graph](https://thegraph.com/). You can find all the `Polygon Mumbai` Nevermined Subgraphs here (search by Nevermined):
All the contract events are exposed via [The Graph](https://thegraph.com/). You can find all the `Arbitrum Sepolia` Nevermined Subgraphs here (search by Nevermined):

https://thegraph.com/hosted-service

For example for Nevermined Polygon Mumbai:

https://thegraph.com/hosted-service/subgraph/nevermined-io/publicmumbaiv2neverminedtoken


## Filecoin - Hyperspace
## Polygon - Mumbai

### Public Hyperspace deployment (v3)
### Public Mumbai deployment (v3)

This is a **public** network deployment (`TAG_NAME=public`) of the Nevermined Contracts v3 in the Filecoin Hyperspace network. You can use this network if you want to integrate with Nevermined in a Filecoin FVM Testnet.
This is a **public** network deployment (`TAG_NAME=public`) of the Nevermined Contracts v3 in the Polygon Mumbai network. You can use this network if you want to integrate with Nevermined in a Polygon Testnet.

The **addresses** of the Nevermined Contracts can be found here: https://artifacts.nevermined.network/3141/public/contracts_v3.0.1.json
The **addresses** of the Nevermined Contracts can be found here: https://artifacts.nevermined.network/80001/public/contracts_v3.5.6.json

The **ABIs of the contracts** to connect via SDK can be download from here: https://artifacts.nevermined.network/3141/public/contracts_v3.0.1.tar.gz
The **ABIs of the contracts** to connect via SDK can be download from here: https://artifacts.nevermined.network/80001/public/contracts_v3.5.6.tar.gz

| Environment | Network | Contracts Version | Tag | Component | URL | Comments |
|-------------|---------|-------------------|-----|-----------|-----|----------|
| [public-v3-hyperspace](https://artifacts.nevermined.network/3141/public/contracts_v3.0.1.json) | Hyperspace | 3.0.1 | public | Node | - | |
| public-v3-hyperspace | Hyperspace | - | public | Marketplace API | - | |
| [public-v3-mumbai](https://artifacts.nevermined.network/80001/public/contracts_v3.5.6.json) | Mumbai | 3.5.6 | public | Node | https://node.mumbai.nevermined.app | |
| public-v3-mumbai | Mumbai | - | public | Marketplace API | https://marketplace-api.mumbai.nevermined.app | |

All the contract events are exposed via [The Graph](https://thegraph.com/). You can find all the `Polygon Mumbai` Nevermined Subgraphs here (search by Nevermined):

https://thegraph.com/hosted-service

For example for Nevermined Polygon Mumbai:

https://thegraph.com/hosted-service/subgraph/nevermined-io/publicmumbaiv2neverminedtoken

29 changes: 15 additions & 14 deletions docs/environments/nvm-prod-envs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,32 @@ The network fee in Nevermined production environments is **1%** and the receiver

:::

## Public Polygon environment

- *`public-v2-mumbai`*: Public environment in Polygon. Use this if you want to integrate with Nevermined in Polygon for production.
## Arbitrum environment


### Version 2.1.0
### Version 3.5.6

| Environment | Network | Contracts Version | Tag | Component | URL | Comments |
|-------------|---------|-------------------|-----|-----------|-----|----------|
| public-nvm-v2-matic | Polygon Matic | 2.1.0 | public | Node | https://node.matic.public.nevermined.network | |
| public-nvm-v2-matic | Polygon Matic | 2.1.0 | public | Marketplace API | https://marketplace-api.matic.public.nevermined.network | |
| public-nvm-v3-arbitrum | Arbitrum One | 3.5.6 | public | Node | https://node.arbitrum.nevermined.app | |
| public-nvm-v3-matic | Arbitrum | 3.5.6 | public | Marketplace API | https://marketplace-api.arbitrum.nevermined.app | |

All the contract events are exposed via [The Graph](https://thegraph.com/). You can find all the `Polygon Matic` Nevermined Subgraphs here (search by Nevermined):

https://thegraph.com/hosted-service
## Polygon environment

For example for Nevermined Polygon Matic:
### Version 3.5.6

https://thegraph.com/hosted-service/subgraph/nevermined-io/publicmaticv2neverminedtoken
| Environment | Network | Contracts Version | Tag | Component | URL | Comments |
|-------------|---------|-------------------|-----|-----------|-----|----------|
| public-nvm-v3-matic | Polygon Matic | 3.5.6 | public | Node | https://node.matic.nevermined.app | |
| public-nvm-v3-matic | Polygon Matic | 3.5.6 | public | Marketplace API | https://marketplace-api.matic.nevermined.app | |

All the contract events are exposed via [The Graph](https://thegraph.com/). You can find all the `Polygon Matic` Nevermined Subgraphs here (search by Nevermined):

https://thegraph.com/hosted-service

### Version 2.0.5
For example for Nevermined Polygon Matic:

| Environment | Network | Contracts Version | Tag | Component | URL | Comments |
|-------------|---------|-------------------|-----|-----------|-----|----------|
| public-v2-mumbai | Mumbai | 2.0.5 | public | Node | https://node.public.nevermined.network | |
| public-v2-mumbai | Mumbai | 2.0.5 | public | Marketplace API | https://marketplace-api.public.nevermined.network | |
| public-v2-mumbai | Mumbai | 2.0.5 | public | GraphNode | https://api.thegraph.com/subgraphs/name/nevermined-io/public | Use with sdk >= 0.21.0 |
https://thegraph.com/hosted-service/subgraph/nevermined-io/publicmaticv2neverminedtoken
32 changes: 15 additions & 17 deletions docs/tutorials/faucets.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,30 @@ description: What faucets can you use to start playing with Nevermined environme

# Getting tokens from faucets in `testnet` environments

## Native tokens

To interact with a blockchain network you need to have balance in the tokens related with the transaction you need to do. For example if you want write anything on-chain as a result of calling a Smart Contract, you need to pay for that in the specific network native token (`ETH`, `MATIC`, etc). In a testnet, it's possible to get some of them using a public faucet. For example https://faucet.polygon.technology/ or https://faucets.chain.link/. You just need to specify the address of your account and wait to get the funds.

:::info

If you just created your account with the CLI, remember the command told us our account address: `Wallet address: 0x37434d6673ff106446c9224884D54201e5Ae46A4`

:::

## ERC20
## Native tokens

If you want to interact with a Nevermined network where the assets published have a price in a ERC20 token (like **USDC**), you need to have balance in that token to purchase these assets. In a testnet you can get some of them in a Faucet too. For example this is the USDC Faucet in `mumbai`:
To interact with a blockchain network you need to have balance in the tokens related with the transaction you need to do. For example if you want write anything on-chain as a result of calling a Smart Contract, you need to pay for that in the specific network native token (`ETH`, `MATIC`, etc). In a testnet, it's possible to get some of them using a public faucet.

https://calibration-faucet.filswan.com/#/dashboard
### Getting testnet ETH

And then you just need to wait a couple of minutes and see if you got balance:
https://faucet.quicknode.com/arbitrum/sepolia dispenses a small amount of ETH.

```bash
ncli -n testnet accounts balance
* Select Arbitrum and Sepolia from the dropdowns.
* Connect your MetaMask to complete the wallet address field.
* Optionally you can tweet to double the amount of test ETH you will receive. (note: the faucet might say ARB, but your MetaMask will say ETH 🤷‍♀️🤷🏼‍♂️)

:::info
Alternatively, you can use the **[Sepolia Faucet](https://sepoliafaucet.com/)** to get some ETH.
:::

## ERC20

CustomToken with address 0xe11A86849d99F524cAC3E7A0Ec1241828e332C62
===== Account 0x37434d6673ff106446c9224884D54201e5Ae46A4 =====
MATIC Balance: 1.25
Token Balance: 180000000000000000000 USDC
Etherscan Url: https://mumbai.polygonscan.com/address/0x37434d6673ff106446c9224884D54201e5Ae46A4
NFT Balance: 0
Getting USDC in Sepolia (or any other testnet network) is quick and simple. Just visit the [Circle faucet](https://faucet.circle.com/), select Arbitrum Sepolia (or any other network) and paste your address.

```
You can get **10 USDC** per day.

0 comments on commit 4b7f5b6

Please sign in to comment.