Skip to content

Commit

Permalink
feat: peaq network deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
aaitor committed Sep 2, 2024
1 parent bb3cd4f commit 1b93b39
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 22 deletions.
2 changes: 2 additions & 0 deletions docs/environments/05-production.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ There are 2 types of production environments:
Environment ID | Nevermined App | Marketplace API (Metadata) | Node
----------------|----------------|----------------------------|------------------
**appArbitrum** | https://nevermined.app | https://marketplace-api.arbitrum.nevermined.app | https://node.arbitrum.nevermined.app
**appPeaq** | https://peaq.nevermined.app | https://marketplace-api.peaq.nevermined.app | https://node.peaq.nevermined.app
**appMatic** | - | https://marketplace-api.matic.nevermined.app | https://node.matic.nevermined.app
**appGnosis** | - | https://marketplace-api.gnosis.nevermined.app | https://node.gnosis.nevermined.app
**appOptimism** | - | https://marketplace-api.optimism.nevermined.app | https://node.optimism.nevermined.app
**appBase** | - | https://marketplace-api.base.nevermined.app | https://node.base.nevermined.app
**appCelo** | - | https://marketplace-api.celo.nevermined.app | https://node.celo.nevermined.app


## Network Fees

Nevermined is free to use for builders. Anyone can publish AI services and data for free. Nevermined collects a `1%` fee when there is payment involved. So when a subscriber pay for a subscription, Nevermined collects a `1%` fee of that. If the payment is done via a credit card (with Stripe), Stripe will also collect a fee.
Expand Down
42 changes: 22 additions & 20 deletions docs/environments/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,35 @@ description: Nevermined Point of Sales Environments

# Environments

Nevermined Point of Sales App is available in a [production](https://nevermined.app/) and in a [testing](https://testing.nevermined.app/) environment.
Both environments are opened and ready to use, the main difference is in [production](https://nevermined.app/) environment is where users can publish and receive payments with real money.
Nevermined Point of Sales App is available in a [production](https://nevermined.app/) and in a
[testing](https://testing.nevermined.app/) environment. Both environments are opened and ready to
use, the main difference is in [production](https://nevermined.app/) environment is where users can
publish and receive payments with real money.

Testing environment is specially useful for AI builders to start getting a better sense of the Point of Sales application.
Testing environment is specially useful for AI builders to start getting a better sense of the Point
of Sales application.

:::info

In [testing](https://testing.nevermined.app/) environment all the payments are not using real money.

:::


A part of these environments we have **Headless Deployments** where we don't provide a Nevermined App **BUT** the underlying network is available. This deployments are specially oriented to **Agent2Agent** communication and orchestration.


Environment ID | Type | Nevermined App | Marketplace API (Metadata) | Node
---------------|------|----------------|----------------------------|------------------
appArbitrum | **Production** | https://nevermined.app | https://marketplace-api.arbitrum.nevermined.app | https://node.arbitrum.nevermined.app
appTesting | **Testing** | https://testing.nevermined.app | https://marketplace-api.testing.nevermined.app | https://node.testing.nevermined.app
appMatic | **Production without App** | - | https://marketplace-api.matic.nevermined.app | https://node.matic.nevermined.app
appGnosis | **Production without App** | - | https://marketplace-api.gnosis.nevermined.app | https://node.gnosis.nevermined.app
appOptimism | **Production without App** | - | https://marketplace-api.optimism.nevermined.app | https://node.optimism.nevermined.app
appBase | **Production without App** | - | https://marketplace-api.base.nevermined.app | https://node.base.nevermined.app
appCelo | **Production without App** | - | https://marketplace-api.celo.nevermined.app | https://node.celo.nevermined.app



import DocCardList from '@theme/DocCardList';
A part of these environments we have **Headless Deployments** where we don't provide a Nevermined
App **BUT** the underlying network is available. This deployments are specially oriented to
**Agent2Agent** communication and orchestration.

| Environment ID | Type | Nevermined App | Marketplace API (Metadata) | Node |
| -------------- | -------------------------- | ------------------------------ | ----------------------------------------------- | ------------------------------------ |
| appArbitrum | **Production** | https://nevermined.app | https://marketplace-api.arbitrum.nevermined.app | https://node.arbitrum.nevermined.app |
| appTesting | **Testing** | https://testing.nevermined.app | https://marketplace-api.testing.nevermined.app | https://node.testing.nevermined.app |
| appPeaq | **Peaq Production** | https://peaq.nevermined.app | https://marketplace-api.peaq.nevermined.app | https://node.peaq.nevermined.app |
| appMatic | **Production without App** | - | https://marketplace-api.matic.nevermined.app | https://node.matic.nevermined.app |
| appGnosis | **Production without App** | - | https://marketplace-api.gnosis.nevermined.app | https://node.gnosis.nevermined.app |
| appOptimism | **Production without App** | - | https://marketplace-api.optimism.nevermined.app | https://node.optimism.nevermined.app |
| appBase | **Production without App** | - | https://marketplace-api.base.nevermined.app | https://node.base.nevermined.app |
| appCelo | **Production without App** | - | https://marketplace-api.celo.nevermined.app | https://node.celo.nevermined.app |

import DocCardList from '@theme/DocCardList'

<DocCardList />
2 changes: 1 addition & 1 deletion docs/tutorials/integration/03-api-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const nvmApp = await NvmApp.getInstance(NVMAppEnvironments.Testing, {
```

:::info
You can download the Smart Contracts artifacts using the [download script](https://github.com/nevermined-io/sdk-js/blob/main/scripts/download-artifacts.sh). For example running `./download-artifacts.sh v3.5.6 arbitrum-sepolia`
You can download the Smart Contracts artifacts using the [download script](https://github.com/nevermined-io/sdk-js/blob/main/scripts/download-artifacts.sh). For example running `./download-artifacts.sh v3.5.8 arbitrum-sepolia`
:::

You can connect with your account using the `connect` method:
Expand Down
19 changes: 18 additions & 1 deletion scripts/download-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,24 @@ fi

REPO_URL=https://artifacts.nevermined.network
declare -A NETWORKS_MAP
NETWORKS_MAP=( ["mainnet"]="1" ["rinkeby"]="4" ["kovan"]="42" ["matic"]="137" ["mumbai"]="80001" ["celo-alfajores"]="44787" ["celo"]="42220" ["aurora"]="1313161554" ["aurora-testnet"]="1313161555" )
NETWORKS_MAP=(
["mainnet"]="1"
["rinkeby"]="4"
["optimism"]="10"
["gnosis"]="100"
["matic"]="137"
["base"]="8453"
["peaq-mainnet"]="3338"
["peaq-agung"]="9990"
["chiado"]="10200"
["arbitrum-one"]="42161"
["celo-alfajores"]="44787"
["hyperspace"]="3141"
["celo"]="42220"
["arbitrum-sepolia"]="421614"
["aurora"]="1313161554"
["aurora-testnet"]="1313161555"
)

SCRIPT_DIR=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)
UNPACK_DIR="$SCRIPT_DIR/../static/contracts"
Expand Down

0 comments on commit 1b93b39

Please sign in to comment.