diff --git a/docs/cli/commands/files/index.md b/docs/cli/commands/files/index.md index f6c5b853..7381d32a 100644 --- a/docs/cli/commands/files/index.md +++ b/docs/cli/commands/files/index.md @@ -8,7 +8,7 @@ sidebar_position: 3 This command group contains commands to manage files in third-party storage such as Storj. -Most of these commands require a Storj account and SPCTL configured to use it. Refer to the [Set up Storj](/cli#set-up-storj) section to create a bucket and access grants and set up SPCTL. +Most of these commands require a Storj account and SPCTL configured to use it. Refer to the [Set up Storj](/cli#set-up-storj-access) section to create a bucket and access grants and set up SPCTL. ## Commands diff --git a/docs/cli/commands/files/upload.md b/docs/cli/commands/files/upload.md index b596a777..36cf8866 100644 --- a/docs/cli/commands/files/upload.md +++ b/docs/cli/commands/files/upload.md @@ -14,8 +14,8 @@ The primary purpose of this command is to make the uploading files available for Depending on the options, the command provides two ways to upload and store the files. Choose one that suits you better: -- **Uploads to storage directly.** This requires a Storj account and SPCTL [configured](/cli#set-up-storj) to use it. The command will upload the file to the root directory of the bucket specified in the SPCTL configuration file. -- **Creates a storage order using a Marketplace storage offer.** This does not require a Storj account but requires paying TEE tokens for the order according to the offer pricing and selected lease duration. +- **Uploads to storage directly.** This requires a Storj account and SPCTL [configured](/cli#set-up-storj-access) to use it. The command will upload the file to the root directory of the bucket specified in the SPCTL configuration file. +- **Creates a storage order using a Marketplace storage offer.** This does not require a Storj account but requires paying SPPI tokens for the order according to the offer pricing and selected lease duration. The input of the command is a TAR.GZ archive file. For solutions, this file is created by the [`solutions prepare`](/cli/commands/solutions/prepare) command. For data, it is an archive containing the dataset files. @@ -74,7 +74,7 @@ The following command uploads the `content.tar.gz` file located in the SPCTL roo ./spctl files upload content.tar.gz ``` -To execute this command successfully, you need a Storj account and SPCTL configured to use it. Refer to the [Set up Storj](/cli#set-up-storj) section to create a bucket and access grants and set up SPCTL. +To execute this command successfully, you need a Storj account and SPCTL configured to use it. Refer to the [Set up Storj](/cli#set-up-storj-access) section to create a bucket and access grants and set up SPCTL. ### Example 2. Upload by creating a storage order diff --git a/docs/cli/commands/index.md b/docs/cli/commands/index.md index f2957564..1a9f916f 100644 --- a/docs/cli/commands/index.md +++ b/docs/cli/commands/index.md @@ -13,7 +13,7 @@ This section contains the list of commands for the Super Protocol CLI tool SPCTL | **Group** | **Description** | | :- | :- | -| [tokens](/cli/commands/tokens) | Receive test TEE and POL test tokens; **testnet only**. | +| [tokens](/cli/commands/tokens) | Receive SPPI and BNB test tokens; **testnet only**. | | [solutions](/cli/commands/solutions) | Prepare a solution for deployment. | | [files](/cli/commands/files) | Manage files in decentralized storage. | | [workflows](/cli/commands/workflows) | Create a new order. | diff --git a/docs/cli/commands/offers/add-slot.md b/docs/cli/commands/offers/add-slot.md index 59316378..b65276b7 100644 --- a/docs/cli/commands/offers/add-slot.md +++ b/docs/cli/commands/offers/add-slot.md @@ -51,7 +51,7 @@ The offer slot JSON file must contain the following objects and strings: - `usage`: object with terms and conditions of usage + `maxTimeMinutes`: minutes; `0` for no limit + `minTimeMinutes`: minutes; `0` for no limit - + `price`: denominations of TEE token + + `price`: denominations of SPPI token + `priceType`: `1` for fixed price, `0` for price per hour; learn more about [price types](/fundamentals/orders#cost-and-pricing) - `option`: object with internet access configuration (only for value offers) + `bandwidth`: bits per second @@ -84,7 +84,7 @@ Offer slot JSON file template with example values: Note that some of the data is represented differently in the Marketplace GUI: - `diskUsage` and `ram` values are converted to gibibytes (GiB) by the formula `initialValue / (1024 ^ 3)` -- `price` value is converted to TEE tokens by the formula `initialValue / (10 ^ 18)` +- `price` value is converted to SPPI tokens by the formula `initialValue / (10 ^ 18)` - `bandwidth` value is converted to megabits per second (Mbps) by the formula `initialValue / (10 ^ 6)` - `traffic` value is converted to gigabytes (GB) by the formula `initialValue / (10 ^ 9)` diff --git a/docs/cli/commands/orders/replenish-deposit.md b/docs/cli/commands/orders/replenish-deposit.md index bb49dbc4..e4a4be2b 100644 --- a/docs/cli/commands/orders/replenish-deposit.md +++ b/docs/cli/commands/orders/replenish-deposit.md @@ -24,7 +24,7 @@ Read about the Super Protocol [command syntax](/cli/commands#command-syntax). | **Name** | **Description** | | :- | :- | | `` | ID of the order. | -| `` | Amount of TEE tokens to deposit. | +| `` | Amount of SPPI tokens to deposit. | ## Option @@ -35,7 +35,7 @@ Read about the Super Protocol [command syntax](/cli/commands#command-syntax). ## Example -The following command adds 3 TEE tokens to the deposit of the order with ID 1312: +The following command adds 3 SPPI tokens to the deposit of the order with ID 1312: ``` ./spctl orders replenish-deposit 1312 3 diff --git a/docs/cli/commands/tokens/balance.md b/docs/cli/commands/tokens/balance.md index 171a7f4b..6d5a4266 100644 --- a/docs/cli/commands/tokens/balance.md +++ b/docs/cli/commands/tokens/balance.md @@ -5,7 +5,7 @@ slug: "/commands/tokens/balance" sidebar_label: "balance" --- -Displays the balance of TEE and POL tokens in your wallet. +Displays the balance of SPPI and BNB tokens in your wallet. ## Syntax diff --git a/docs/cli/commands/tokens/index.md b/docs/cli/commands/tokens/index.md index 23c41cd8..cb8e7a0a 100644 --- a/docs/cli/commands/tokens/index.md +++ b/docs/cli/commands/tokens/index.md @@ -6,13 +6,13 @@ sidebar_position: 1 --- -This command group contains commands to manage test TEE and POL tokens. +This command group contains commands to manage SPPI and BNB tokens. -TEE tokens are necessary to pay for orders in Super Protocol. POL tokens are for processing transactions on Polygon blockchains. +SPPI tokens are necessary to pay for orders in Super Protocol. BNB tokens are necessary for processing transactions on the opBNB blockchain. ## Commands | **Command** | **Description** | | :- | :- | | [tokens balance](/cli/commands/tokens/balance) | Gets the wallet balance. | -| [tokens request](/cli/commands/tokens/request) | Requests test tokens; **testnet only**. | +| [tokens request](/cli/commands/tokens/request) | Requests test tokens. | diff --git a/docs/cli/commands/tokens/request.md b/docs/cli/commands/tokens/request.md index aa222997..31d95979 100644 --- a/docs/cli/commands/tokens/request.md +++ b/docs/cli/commands/tokens/request.md @@ -5,7 +5,7 @@ slug: "/commands/tokens/request" sidebar_label: "request" --- -Requests test TEE and POL tokens. +Requests SPPI and BNB tokens. This command is only available during the Testnet. Be mindful of [Testnet limitations](/marketplace/limitations). @@ -25,14 +25,14 @@ Read about the Super Protocol [command syntax](/cli/commands#command-syntax). | **Name** | **Description** | | :- | :- | -| `--tee` | Request for Super Protocol TEE tokens. | -| `--matic` | Request for Polygon POL tokens. | +| `--tee` | Request for SPPI tokens. | +| `--matic` | Request for BNB tokens. | | `--config ` | Path to the SPCTL configuration file. The default is `./config.json`. | | `--help`, `-h` | Help for the command. | ## Example -The following command requests TEE tokens: +The following command requests SPPI tokens: ``` ./spctl tokens request --tee diff --git a/docs/cli/commands/workflows/create.md b/docs/cli/commands/workflows/create.md index df4a8fdf..02cd54a6 100644 --- a/docs/cli/commands/workflows/create.md +++ b/docs/cli/commands/workflows/create.md @@ -41,7 +41,7 @@ Read about the Super Protocol [command syntax](/cli/commands#command-syntax). | `--tee-slot-count ` | Configuration slot increments—how many times the selected slot is applied. Use this option together with `--tee`.

If you do not use this option, the increments will be calculated automatically. | | `--tee-options [ ...]` | IDs of [configuration options](/fundamentals/slots#configuration) separated by spaces. Use `--tee-options` together with `--tee`.

If you do not use `--tee-options`, configuration options will be selected automatically. | | `--tee-options-count [ ...]` | Increments for each configuration option separated by spaces. Use `--tee-options-count` together with `--tee` and `--tee-options`.

If you do not use `--tee-options-count`, increments will be calculated automatically. | -| `--deposit ` | [Deposit](/fundamentals/orders#lease-deposit-and-balance) in TEE tokens. The default is the minimum required deposit. | +| `--deposit ` | [Deposit](/fundamentals/orders#lease-deposit-and-balance) in SPPI tokens. The default is the minimum required deposit. | | `--min-rent-minutes ` | Compute [lease time](/fundamentals/orders#lease-deposit-and-balance) in minutes. Using this option will increase the required deposit. The default is the minimum required time. | | `--config ` | Path to the SPCTL configuration file. The default is `./config.json`. | | `--help`, `-h` | Help for the command. | diff --git a/docs/cli/index.md b/docs/cli/index.md index 15b0f742..e0862c5e 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -42,7 +42,7 @@ You can also download and install SPCTL manually from the Super Protocol [GitHub Execute the `./spctl setup` command to initiate the setup dialog. First, provide your Testnet Access Token and then your Testnet Private Key. You can find them in your Testnet invitation email. -Further, SPCTL asks if you have a Storj bucket with configured access grants. This step is optional. Select `No` if you do not have them yet. You can configure Storj and provide this information [later in this guide](/cli#set-up-storj) or skip this step entirely. +Further, SPCTL asks if you have a Storj bucket with configured access grants. This step is optional. Select `No` if you do not have them yet. You can configure Storj and provide this information [later in this guide](/cli#set-up-storj-access) or skip this step entirely. After that, SPCTL creates `config.json` in the SPCTL root directory. If you need to update your account information, execute `./spctl setup` again or modify `config.json` manually in any text editor. diff --git a/docs/developers/cli_guides/providers_offers.md b/docs/developers/cli_guides/providers_offers.md index 271087f6..e3757cb5 100644 --- a/docs/developers/cli_guides/providers_offers.md +++ b/docs/developers/cli_guides/providers_offers.md @@ -12,7 +12,7 @@ This guide explains how to register a _provider_ on Super Protocol and create _s :::info Testnet limitations -As of Testnet 5, you can only create solution and data offers. The ability to create _storage_ and _compute offers_ will be available in future releases. Monetization is only possible with test TEE tokens until the project goes to Mainnet. +As of Testnet 5, you can only create solution and data offers. The ability to create _storage_ and _compute offers_ will be available in future releases. Monetization is only possible with SPPI tokens until the project goes to Mainnet. ::: @@ -169,7 +169,7 @@ Offer providers need the following Super Protocol accounts: - Three _provider accounts_: + _Authority account_: can change provider's records; the main provider account + _Action account_: executes actions on behalf of the authority account - + _Token receiver account_: receives rewards in TEE tokens for providing offers on Super Protocol. + + _Token receiver account_: receives rewards in SPPI tokens for providing offers on Super Protocol. ### Create accounts diff --git a/docs/developers/deployment_guides/blockchain/oracles.md b/docs/developers/deployment_guides/blockchain/oracles.md index 8baa7144..c00c699c 100644 --- a/docs/developers/deployment_guides/blockchain/oracles.md +++ b/docs/developers/deployment_guides/blockchain/oracles.md @@ -44,7 +44,7 @@ You will need: - Polygon Testnet Wallet #1 - for deploying "x509 verifier" smart contract. Wallet needs to contain test POL tokens. - Polygon Testnet Wallet #2 - for deploying Oracle smart contract. Wallet needs to contain test POL tokens. -You can create the wallets using MetaMask and follow [this guide](https://support.polygon.technology/support/solutions/articles/82000907114-how-to-add-amoy-network-in-your-wallet-) to add the Polygon Amoy Testnet network. Save their addresses and private keys, you will need them later in the guide. You can receive free test POL tokens [here](https://faucet.polygon.technology/). +You can create the wallets using MetaMask and follow [this guide](https://support.polygon.technology/support/solutions/articles/82000907114-how-to-add-amoy-network-in-your-wallet-) to add the Polygon Amoy Testnet network. Save their addresses and private keys, you will need them later in the guide. We highly recommend that you create two different wallets on Polygon Testnet specifically for this guide. But if you are going to use a single wallet, please make sure that you do not use it for any other operations, as they might disrupt the Oracle. diff --git a/docs/developers/deployment_guides/python/solution.md b/docs/developers/deployment_guides/python/solution.md index 512251e9..f7ab266e 100644 --- a/docs/developers/deployment_guides/python/solution.md +++ b/docs/developers/deployment_guides/python/solution.md @@ -138,7 +138,7 @@ After running the command, `solution.tar.gz` and `metadata.json` files are gener ## Upload the solution -Solution needs to be uploaded to decentralized storage before it may be executed in TEE. The storage credentials have been configured during the [SPCTL setup](/cli#set-up-storj). +Solution needs to be uploaded to decentralized storage before it may be executed in TEE. The storage credentials have been configured during the [SPCTL setup](/cli#set-up-storj-access). Run the following command: diff --git a/docs/developers/deployment_guides/tunnels/manual_run.md b/docs/developers/deployment_guides/tunnels/manual_run.md index fb7293c5..ae81fe2d 100644 --- a/docs/developers/deployment_guides/tunnels/manual_run.md +++ b/docs/developers/deployment_guides/tunnels/manual_run.md @@ -40,7 +40,7 @@ Create an order for Tunnel Server using the `tunnel-server-data.json` file conta ./spctl workflows create --tee 1 --solution 6,2 --solution 11,10 --data tunnel-server-data.json --storage 25,30 --orders-limit 10 --min-rent-minutes 60 ``` -**Tip:** to create order make sure that you have sufficient amount of TEE and POL tokens in your testnet wallet. You can get more tokens using the [tokens request](/cli/commands/tokens/request) command. Be mindful of testnet [limitations](/marketplace/limitations). +**Tip:** to create order make sure that you have sufficient amount of SPPI and BNB tokens in your testnet wallet. You can get more tokens using the [tokens request](/cli/commands/tokens/request) command. Be mindful of testnet [limitations](/marketplace/limitations). The last line of the output will look like this: @@ -160,7 +160,7 @@ Record changes might take some time. Please contact your domain registrar for mo After a few minutes, open your browser and go to your domain! -Don't forget to replenish the tunnel orders with TEE tokens if you want your site to stay up. +Don't forget to replenish the tunnel orders with SPPI tokens if you want your site to stay up. ## Create more tunnels @@ -188,7 +188,7 @@ For example, repeat some of the previous steps to deploy another couple of tunne ### Limits -When creating an order in the example, the parameter `--min-rent-minutes` is set to 60. This means that the tunnel server and tunnel client will operate for 60 minutes. If needed, replace the minute value with the desired duration, but keep in mind that you may need more TEE tokens. Please refer to the testnet [limitations](/marketplace/limitations). +When creating an order in the example, the parameter `--min-rent-minutes` is set to 60. This means that the tunnel server and tunnel client will operate for 60 minutes. If needed, replace the minute value with the desired duration, but keep in mind that you may need more SPPI tokens. Please refer to the testnet [limitations](/marketplace/limitations). ### Deploying your own solutions diff --git a/docs/developers/deployment_guides/tunnels/static_content.md b/docs/developers/deployment_guides/tunnels/static_content.md index 0249cadf..7fcde5f7 100644 --- a/docs/developers/deployment_guides/tunnels/static_content.md +++ b/docs/developers/deployment_guides/tunnels/static_content.md @@ -34,7 +34,7 @@ This will result in `tunnel-server-data.tar.gz`. ### Upload archive -Solution needs to be encrypted and uploaded to decentralized storage before it may be executed in Super Protocol. The storage credentials will need to have been configured during the [SPCTL setup](/cli#set-up-storj): +Solution needs to be encrypted and uploaded to decentralized storage before it may be executed in Super Protocol. The storage credentials will need to have been configured during the [SPCTL setup](/cli#set-up-storj-access): ``` ./spctl files upload tunnel-server-data.tar.gz --output tunnel-server-data.json --filename tunnel-server-data.tar.gz @@ -44,7 +44,7 @@ This command will produce `tunnel-server-data.json`. ### Create a tunnel server order -You are now ready to start the Tunnel Server order. Note the parameter `--min-rent-minutes` which will deposit enough TEE tokens to ensure the tunnel is running for at least the specified period of time (in minutes). For this example we've set it to 60 minutes. +You are now ready to start the Tunnel Server order. Note the parameter `--min-rent-minutes` which will deposit enough SPPI tokens to ensure the tunnel is running for at least the specified period of time (in minutes). For this example we've set it to 60 minutes. ``` ./spctl workflows create --tee 1 --solution 6,2 --solution 11,10 --data tunnel-server-data.json --storage 25,30 --min-rent-minutes 60 diff --git a/docs/developers/marketplace_gui/first-steps.md b/docs/developers/marketplace_gui/first-steps.md index 9a628225..1d7a5aff 100644 --- a/docs/developers/marketplace_gui/first-steps.md +++ b/docs/developers/marketplace_gui/first-steps.md @@ -163,8 +163,8 @@ If everything is done correctly, you will see your account address and token bal Super Protocol uses two types of tokens, and you will need both of them: -- POL tokens, to pay for Polygon blockchain transactions -- TEE tokens, to pay for offers and receive payments in Super Protocol. +- BNB tokens, to pay for opBNB blockchain transactions. +- SPPI tokens, to pay for offers and receive payments in Super Protocol. To get tokens, use the buttons at the top of the page. diff --git a/docs/developers/marketplace_gui/index.md b/docs/developers/marketplace_gui/index.md index 92251460..b4900f3a 100644 --- a/docs/developers/marketplace_gui/index.md +++ b/docs/developers/marketplace_gui/index.md @@ -27,7 +27,7 @@ The things you can do in the Marketplace GUI and the their respective CLI comman | **Function** | **SPCTL Command** | |:-----------------------------------------------|:------------------------------------------------------------------------------| | View details of offers available on blockchain | [`offers`](/cli/commands/offers) | -| Receive test TEE and POL tokens | [`tokens request`](/cli/commands/tokens/request) | +| Receive SPPI and BNB tokens | [`tokens request`](/cli/commands/tokens/request) | | Create orders using offers | [`workflows create`](/cli/commands/workflows/create) | | Use your own data for the solution offers | [`workflows create`](/cli/commands/workflows/create) | | Generate encryption keys for orders | [`workflows generate-key`](/cli/commands/workflows/generate-key) | diff --git a/docs/developers/marketplace_gui/walkthrough.md b/docs/developers/marketplace_gui/walkthrough.md index 66161d8b..b4b4d53a 100644 --- a/docs/developers/marketplace_gui/walkthrough.md +++ b/docs/developers/marketplace_gui/walkthrough.md @@ -200,7 +200,7 @@ Creating the tunnels takes about 20-30 minutes. You might need to refresh the pa But while you wait, let's talk about the order. It consists of the main compute order (whose status is also the order status) as well as *sub-orders*, which are all the other offers, each with its own separate order related to the main order. The other offers are in status `Done` because they have transferred their content to the compute for execution and that's where their function ended. But - you might still be paying hourly to the providers of those offers. -A very important function is *Replenish Deposit*. Predictably, the order keeps working only as long as there is money (TEE) on the deposit. The deposit is being decreased every hour by the total *Price Per Hour* amount that you saw when creating the order. This includes charges by the compute, but also possibly by some other offers if they charge by the hour. When the deposit ends - the order stops. But you will be warned in advance when your deposit nearly depleted - you will see a very orange *Awaiting Payment* warning, which means that it's time to refill your deposit (if you want). +A very important function is *Replenish Deposit*. Predictably, the order keeps working only as long as there is money (SPPI tokens) on the deposit. The deposit is being decreased every hour by the total *Price Per Hour* amount that you saw when creating the order. This includes charges by the compute, but also possibly by some other offers if they charge by the hour. When the deposit ends - the order stops. But you will be warned in advance when your deposit nearly depleted - you will see a very orange *Awaiting Payment* warning, which means that it's time to refill your deposit (if you want). diff --git a/docs/fundamentals/certification.md b/docs/fundamentals/certification.md new file mode 100644 index 00000000..0bcd7820 --- /dev/null +++ b/docs/fundamentals/certification.md @@ -0,0 +1,51 @@ +--- +id: "certification" +title: "Certification System" +slug: "/certification" +sidebar_position: 6 +--- + +Super Protocol uses the certification system for signing data, verifying signatures, and ensuring applications operate in a correct confidential computing environment. The system publishes verified data in the blockchain on behalf of confidential containers, allowing anyone to validate application integrity and ensure confidentiality. + +All the system components are open-source, which guarantees transparency and verifiability. + +## Architecture + +The backbone of the system is a hierarchical structure of Certification Authorities. Each Certification Authority works in a Confidential Virtual Machine (VM) executed inside a Trusted Execution Environment (TEE)—Intel SGX enclave. + + +
+
+ +The Root Certification Authority (*Root CA*) is located at the highest hierarchical level. At the start, Root CA generates a self-signed certificate, embedding an SGX attestation quote. + +Distributed SubRoot Certification Authorities (*SubRoot CAs*) operate under the Root CA at the next hierarchical level. They provide their quotes and public keys for future certificates to the Root CA and request certificates. + +Root CA receives these incoming requests, verifies them, and issues and signs certificates for SubRoot CAs. The SubRoot CAs, in turn, issue and sign certificates for [orders](/fundamentals/orders). Confidential VMs that execute orders may be deployed inside TDX, SEV, or other CPU- or GPU-based TEE. + +## Order certificates + +The certification system facilitates attestation verification for orders, as only the order certificate is required. The certificate chain up to the Root CA is verified automatically. + +The issuing of order certificates involves [Trusted Loader](/whitepaper/tee-provider/#trusted-loader-mechanism)—a mechanism developed to load and run applications within a TEE. Trusted Loader operates inside a Confidential VM that executes the order. + +The process of getting an order certificate is the following: + +1. Trusted Loader provides its quote and a public key to a SubRoot CA and sends a request for an order certificate. +2. The SubRoot CA verifies the Trusted Loader’s quote and issues the order certificate with the provided public key. + +Any new order in Super Protocol contains necessary input data, including the solution hash or, in other words, the hash of the executed application. This execution environment is referred to as *Workload Info*. + +The Workload Info includes an array called `runtimeInfo[]`, which contains each order component’s Type, Hash, and Size. It may also contain a signature key (SignatureKey), stored as a hash, and hashes of input arguments (Args hash). Each application, dataset, or other order component has a corresponding entry in this array. + +The hash of the Workload Info is stored in the certificate generated for each order. The certificate’s public part, private key, Workload Info, and complete certificate chain are stored in the `sp/certs` directory available to the order during execution. + +Besides, the public part of the certificate and the `runtimeInfo[]` array are recorded on the blockchain, allowing anyone to validate the order and verify the certificate chain using the following [SPCTL](/cli) command: + +``` +./spctl orders get-report +``` + +Where: + +- `` is the ID of the order. \ No newline at end of file diff --git a/docs/fundamentals/images/certification-system-architecture.png b/docs/fundamentals/images/certification-system-architecture.png new file mode 100644 index 00000000..788ef314 Binary files /dev/null and b/docs/fundamentals/images/certification-system-architecture.png differ diff --git a/docs/fundamentals/index.md b/docs/fundamentals/index.md index 163f40f7..ed9af4ae 100644 --- a/docs/fundamentals/index.md +++ b/docs/fundamentals/index.md @@ -63,7 +63,7 @@ Learn more about [slots](/fundamentals/slots). ## Orders -An _order_ involves paying the providers in TEE tokens for their products and services. The order manages the operational and financial settlements between the participants. Because Super Protocol is decentralized, the order system is P2P with no central authority. The centerpiece of an order is a confidential compute offer where solutions and data are executed in the TEE. +An _order_ involves paying the providers in SPPI tokens for their products and services. The order manages the operational and financial settlements between the participants. Because Super Protocol is decentralized, the order system is P2P with no central authority. The centerpiece of an order is a confidential compute offer where solutions and data are executed inside a TEE. Learn more about [Orders](/fundamentals/orders). diff --git a/docs/fundamentals/offers.md b/docs/fundamentals/offers.md index 6e1f4890..05cef142 100644 --- a/docs/fundamentals/offers.md +++ b/docs/fundamentals/offers.md @@ -5,7 +5,7 @@ slug: "/offers" sidebar_position: 2 --- -_Offer_ is an open listing for a resource available on the Marketplace. To add an offer to an [order](/fundamentals/orders), users must pay the price in TEE tokens set by the offer provider. +_Offer_ is an open listing for a resource available on the Marketplace. To add an offer to an [order](/fundamentals/orders), users must pay the price in SPPI tokens set by the offer provider. _Offer providers_ share and monetize their applications and datasets by creating and maintaining _community offers_ on the Super Protocol Marketplace. @@ -21,7 +21,7 @@ Offers are the basic building blocks of the Marketplace. Four types of offers ex _Value offer_ is a collective term for solution, data, and storage offers. - +

Usually, placing an order involves adding all four types of offers. However, customers can also upload their solutions and data instead of using an existing offer. @@ -69,7 +69,7 @@ Besides the user Testnet account, providers also have three _provider accounts_: - _Authority account_ can change provider's records. It is the main provider account. - _Action account_ executes actions on behalf of the authority account. -- _Token receiver account_ receives rewards in TEE tokens for providing offers on Super Protocol. +- _Token receiver account_ receives rewards in SPPI tokens for providing offers on Super Protocol. Because Super Protocol is still in the testnet stage, monetization is only possible with test tokens as a demonstration. Moreover, providers can create only solution and data offers. diff --git a/docs/marketplace/account/index.md b/docs/marketplace/account/index.md index 151b4d53..1256d063 100644 --- a/docs/marketplace/account/index.md +++ b/docs/marketplace/account/index.md @@ -22,7 +22,7 @@ _Web3 User account_ is the recommended account type in Super Protocol. It provid - Placement of orders with Marketplace offers or the user's own uploaded content. - Registration of individual providers and full control of earned funds and rewards. - Creation and monetization of model and dataset offers on the Marketplace. -- Ability to request additional test TEE tokens. +- Ability to request additional SPPI tokens. Read [How to Log In as a Web3 User](/marketplace/guides/log-in) for step-by-step instructions. diff --git a/docs/marketplace/account/demo.md b/docs/marketplace/account/web2.md similarity index 85% rename from docs/marketplace/account/demo.md rename to docs/marketplace/account/web2.md index 29c55268..c726e32b 100644 --- a/docs/marketplace/account/demo.md +++ b/docs/marketplace/account/web2.md @@ -1,11 +1,11 @@ --- -id: "demo" +id: "web2" title: "Web2 User Account" -slug: "/account/demo" +slug: "/account/web2" sidebar_position: 2 --- -This window shows the settings of your [Web2 User account](/marketplace/account#demo-user-account). +This window shows the settings of your [Web2 User account](/marketplace/account#web2-user-account).
@@ -22,7 +22,7 @@ Super Protocol supports two options of decentralized storage to upload files: - **Super Protocol cloud**: + Does not require additional setup. + Uses Super Protocol's Storj account and thus relies on Super Protocol as the storage provider. - + Costs TEE tokens for additional storage beyond the basic free package. + + Costs SPPI tokens for additional storage beyond the basic free package. - **Your Storj account**: + Available to Web3 users only. + Requires creating and setting up a Storj account. diff --git a/docs/marketplace/account/web3.md b/docs/marketplace/account/web3.md index 9c6ccbbd..536a0131 100644 --- a/docs/marketplace/account/web3.md +++ b/docs/marketplace/account/web3.md @@ -15,6 +15,11 @@ This window allows you to manage your [Web3 User account](/marketplace/account#w **Login**: the Web3 login method and the EVM wallet address you are using. Currently, Super Protocol only supports MetaMask as a Web3 login method. +**Get SPPI** and **Get BNB** buttons allow you to get tokens necessary to place orders: + +- SPPI tokens are required to pay and receive payments in Super Protocol. +- BNB tokens are required to pay for opBNB blockchain transactions. + ## Storage You have two options of decentralized storage to upload files: @@ -23,7 +28,6 @@ You have two options of decentralized storage to upload files: + Recommended for most users. + Does not require additional setup. + Uses Super Protocol's Storj account and thus relies on Super Protocol as the storage provider. - + Costs TEE tokens for additional storage beyond the basic free package. - **Your Storj account**: + Intended for advanced users. + Requires creating and setting up a Storj account. diff --git a/docs/marketplace/guides/log-in.md b/docs/marketplace/guides/log-in.md index 4646626f..b512434b 100644 --- a/docs/marketplace/guides/log-in.md +++ b/docs/marketplace/guides/log-in.md @@ -1,6 +1,6 @@ --- id: "log-in" -title: "How to Log In" +title: "How to Log In (Web3)" slug: "/guides/log-in" sidebar_position: 1 --- @@ -18,32 +18,32 @@ The Marketplace web app does not officially support mobile devices. Use a deskto ## Step 1. Create a new wallet address -To log in as a Web3 user, you need the MetaMask browser extension. MetaMask is one of the most popular software cryptocurrency wallets for Ethereum and EVM-compatible blockchains like Polygon. +To log in as a Web3 user, you need the MetaMask browser extension. MetaMask is one of the most popular software cryptocurrency wallets for Ethereum and EVM-compatible blockchains. If you do not have MetaMask, you need to install it and create a new EVM wallet address. - Add the MetaMask extension to your browser from its [official website](https://metamask.io/) or your browser's extension store. During the installation, choose **Create a new wallet**. + 1. Add the MetaMask extension to your browser from its [official website](https://metamask.io/) or your browser's extension store. During the installation, choose **Create a new wallet**.

- Create a password. You will use it to unlock MetaMask. + 2. Create a password. You will use it to unlock MetaMask.

- When prompted to secure your wallet, select **Remind me later** for a quick start or **Secure my wallet** to be able to restore your wallet address if you uninstall MetaMask. You can secure your wallet any time later. + 3. When prompted to secure your wallet, select **Remind me later** for a quick start or **Secure my wallet** to be able to restore your wallet address if you uninstall MetaMask. You can secure your wallet any time later.

- You can find the address of your newly created wallet in the MetaMask extension window. + 4. You can find the address of your newly created wallet in the MetaMask extension window. @@ -52,77 +52,64 @@ To log in as a Web3 user, you need the MetaMask browser extension. MetaMask is o If you have previously installed MetaMask, create a new EVM wallet address. Although you can use an existing EVM wallet address, it is recommended that you create a new one specifically for Super Protocol. - Open MetaMask and click your current account name: + 1. Open MetaMask and click your current account name:

- Press **Add account or hardware wallet** and then select **Add a new Ethereum account**. + 2. Press **Add account or hardware wallet** and then select **Add a new Ethereum account**.

- Type any desired account name and click **Add account**. + 3. Type any desired account name and click **Add account**.

- If you wish to recover this wallet address later, save its Secret Key. You can find it in the **Account details**. + 4. If you wish to recover this wallet address later, save its Secret Key. You can find it in the **Account details**.
-## Step 2. Add the Polygon network +## Step 2. Connect the account -Open the MetaMask window. - - -
-
- -Open the menu in the top-left corner, find Polygon Mainnet in the list of the additional networks, and click **Add**. - - -
- -## Step 3. Connect the account - -Open the [Marketplace web app](https://marketplace.superprotocol.com/) and press the **Enter Marketplace** button. +1. Open the [Marketplace web app](https://marketplace.superprotocol.com/) and press the **Enter Marketplace** button.

-Select **MetaMask**. +2. Select **MetaMask**.

-In the MetaMask window that appears, click **Connect** and then **Confirm** the signature request. +3. In the MetaMask window that appears, **Approve** adding a new network (opBNB) and then **Confirm** the signature request. - +

-If you connect successfully, you will see your account address in the top-right corner of the Marketplace screen. +4. If you connect successfully, you will see your account address in the top-right corner of the Marketplace screen.
-## Step 4. Get tokens +## Step 3. Get tokens Super Protocol users need two types of tokens: -- TEE tokens to pay and receive payments in Super Protocol. -- POL tokens to pay for Polygon's blockchain transactions. +- SPPI tokens to pay and receive payments in Super Protocol. +- BNB tokens to pay for opBNB blockchain transactions. -Both types are necessary to place orders. During the testnet, you can request free TEE tokens in the **Account** setting. +Both types are necessary to place orders. During the testnet, you can request free tokens in the **Account** setting.
@@ -130,6 +117,35 @@ Both types are necessary to place orders. During the testnet, you can request fr There is a limit to the daily amount of tokens you can get. Check the [Testnet Limitations](/marketplace/limitations). +## Step 4. Import SPPI to MetaMask (optional) + +To make your MetaMask display your SPPI token balance, import the token: + +1. Open Metamask. + + +
+
+ +2. Go to the **Tokens** tab, click the **[ ⋮ ]** button, and select **Import tokens** in the menu. + + +
+
+ +3. Add the following address to **Token contract address**: `0xDb8E4557E34256d3E8bBA0f7796Cf633a8F08C27`. **Token symbol** `SPPI` and **Token decimal** `18` will fill in automatically. + + +
+
+ +Click **Next** and then **Import**. + +4. Check that SPPI has appeared in the **Tokens** tab. + + +
+ ## Contact Super Protocol -If you face any issues, do not hesitate to contact the Super Protocol team on [Discord](https://discord.gg/superprotocol) or via the [contact form](https://superprotocol.zendesk.com/hc/en-us/requests/new) for assistan \ No newline at end of file +If you face any issues, do not hesitate to contact the Super Protocol team on [Discord](https://discord.gg/superprotocol) or via the [contact form](https://superprotocol.zendesk.com/hc/en-us/requests/new) for assistance. \ No newline at end of file diff --git a/docs/marketplace/guides/place-order.md b/docs/marketplace/guides/place-order.md index 2833ec7b..c802e291 100644 --- a/docs/marketplace/guides/place-order.md +++ b/docs/marketplace/guides/place-order.md @@ -25,7 +25,7 @@ Select a model you want to deploy. You can add either a model from the Marketpla To lease a model listed on the Marketplace, open the list of available **Models** and click the blue **[+]** button next to a model you want to add to the order. - + @@ -34,14 +34,14 @@ Select a model you want to deploy. You can add either a model from the Marketpla When your model is uploaded, open **My Files** and click the blue **[+]** button next to a model to add it to the order. - + Once you add a model, open the **Order Builder** by clicking **Order** in the top panel of the Marketplace web app. - +

diff --git a/docs/marketplace/guides/storage.md b/docs/marketplace/guides/storage.md index 6383a4dc..54427871 100644 --- a/docs/marketplace/guides/storage.md +++ b/docs/marketplace/guides/storage.md @@ -9,7 +9,7 @@ This guide provides step-by-step instructions on how to set up your personal Sto The guide is intended for advanced Web3 users; feel free to skip it and continue using the default recommended option—**Super Protocol cloud**. Read about [types of storage](/marketplace/account/web3#storage). - +

diff --git a/docs/marketplace/guides/upload-comfyui.md b/docs/marketplace/guides/upload-comfyui.md index d1ae17a5..d4139685 100644 --- a/docs/marketplace/guides/upload-comfyui.md +++ b/docs/marketplace/guides/upload-comfyui.md @@ -72,7 +72,7 @@ You can prepare your model manually or using Docker and a script provided by Sup If everything is fine, you will see the message `ComfyUI is running!` in the output. - If you receive the error `bind source path does not exist`, add the directory with the repository to **File sharing** in the Docker's settings to make it available to the container. + If you receive the error `bind source path does not exist`, add the repository directory to **File sharing** in the Docker's settings to make it available to the container. 4. Open http://localhost:8188/ in your browser to access the running ComfyUI if it has not opened automatically. @@ -170,11 +170,11 @@ You can prepare your model manually or using Docker and a script provided by Sup │   └── checkpoints │   └── mdjrny-v4.safetensors └── user - └── default - ├── ComfyUI-Manager - │   └── snapshots - └── workflows - └── my-openjourney-workflow.json + └── default + ├── ComfyUI-Manager + │   └── snapshots + └── workflows + └── my-openjourney-workflow.json ``` 6. Run the following command to create a TAR.GZ archive: @@ -200,7 +200,7 @@ You can prepare your model manually or using Docker and a script provided by Sup In the [Marketplace web app](https://marketplace.superprotocol.com/), go to the **My Files** screen and press the **Upload File** button. - +

diff --git a/docs/marketplace/guides/upload-tgwui.md b/docs/marketplace/guides/upload-tgwui.md index f6b87ace..970a34fe 100644 --- a/docs/marketplace/guides/upload-tgwui.md +++ b/docs/marketplace/guides/upload-tgwui.md @@ -248,7 +248,7 @@ Ensure the model directory contains no hidden files and directories. Archive the In the [Marketplace web app](https://marketplace.superprotocol.com/), go to the **My Files** screen and press the **Upload File** button. - +

diff --git a/docs/marketplace/images/all-orders.png b/docs/marketplace/images/all-orders.png index 430b8065..72603ec4 100644 Binary files a/docs/marketplace/images/all-orders.png and b/docs/marketplace/images/all-orders.png differ diff --git a/docs/marketplace/images/enter-marketplace-mm.png b/docs/marketplace/images/enter-marketplace-mm.png index 02b41905..97d04187 100644 Binary files a/docs/marketplace/images/enter-marketplace-mm.png and b/docs/marketplace/images/enter-marketplace-mm.png differ diff --git a/docs/marketplace/images/enter-marketplace.png b/docs/marketplace/images/enter-marketplace.png index 574c5cc3..81b14654 100644 Binary files a/docs/marketplace/images/enter-marketplace.png and b/docs/marketplace/images/enter-marketplace.png differ diff --git a/docs/marketplace/images/extend-lease.png b/docs/marketplace/images/extend-lease.png index 320318a1..412de2a6 100644 Binary files a/docs/marketplace/images/extend-lease.png and b/docs/marketplace/images/extend-lease.png differ diff --git a/docs/marketplace/images/marketplace-models-menu.png b/docs/marketplace/images/marketplace-models-menu.png new file mode 100644 index 00000000..0eabcfe9 Binary files /dev/null and b/docs/marketplace/images/marketplace-models-menu.png differ diff --git a/docs/marketplace/images/marketplace-order-builder.png b/docs/marketplace/images/marketplace-order-builder.png new file mode 100644 index 00000000..02c76d49 Binary files /dev/null and b/docs/marketplace/images/marketplace-order-builder.png differ diff --git a/docs/marketplace/images/marketplace-web3acc-menu.png b/docs/marketplace/images/marketplace-web3acc-menu.png index b25bd7b8..f848c247 100644 Binary files a/docs/marketplace/images/marketplace-web3acc-menu.png and b/docs/marketplace/images/marketplace-web3acc-menu.png differ diff --git a/docs/marketplace/images/marketplace-web3acc.png b/docs/marketplace/images/marketplace-web3acc.png index a7585ff8..15ef7f07 100644 Binary files a/docs/marketplace/images/marketplace-web3acc.png and b/docs/marketplace/images/marketplace-web3acc.png differ diff --git a/docs/marketplace/images/metamask-add-opbnb.png b/docs/marketplace/images/metamask-add-opbnb.png new file mode 100644 index 00000000..0e5e397a Binary files /dev/null and b/docs/marketplace/images/metamask-add-opbnb.png differ diff --git a/docs/marketplace/images/metamask-connect.png b/docs/marketplace/images/metamask-connect.png deleted file mode 100644 index 9721784d..00000000 Binary files a/docs/marketplace/images/metamask-connect.png and /dev/null differ diff --git a/docs/marketplace/images/metamask-import-sppi-1.png b/docs/marketplace/images/metamask-import-sppi-1.png new file mode 100644 index 00000000..1dd323fe Binary files /dev/null and b/docs/marketplace/images/metamask-import-sppi-1.png differ diff --git a/docs/marketplace/images/metamask-import-sppi-2.png b/docs/marketplace/images/metamask-import-sppi-2.png new file mode 100644 index 00000000..6f623af0 Binary files /dev/null and b/docs/marketplace/images/metamask-import-sppi-2.png differ diff --git a/docs/marketplace/images/metamask-import-sppi-3.png b/docs/marketplace/images/metamask-import-sppi-3.png new file mode 100644 index 00000000..5bfe6967 Binary files /dev/null and b/docs/marketplace/images/metamask-import-sppi-3.png differ diff --git a/docs/marketplace/images/metamask-polygon-add.png b/docs/marketplace/images/metamask-polygon-add.png deleted file mode 100644 index be52efec..00000000 Binary files a/docs/marketplace/images/metamask-polygon-add.png and /dev/null differ diff --git a/docs/marketplace/images/metamask-spending-cap.png b/docs/marketplace/images/metamask-spending-cap.png index 81b0b616..fa449ff7 100644 Binary files a/docs/marketplace/images/metamask-spending-cap.png and b/docs/marketplace/images/metamask-spending-cap.png differ diff --git a/docs/marketplace/images/metamask-transaction-manually.png b/docs/marketplace/images/metamask-transaction-manually.png index 37f79cdb..b506147e 100644 Binary files a/docs/marketplace/images/metamask-transaction-manually.png and b/docs/marketplace/images/metamask-transaction-manually.png differ diff --git a/docs/marketplace/images/metamask-transaction.png b/docs/marketplace/images/metamask-transaction.png index 7bc3c8be..b931579f 100644 Binary files a/docs/marketplace/images/metamask-transaction.png and b/docs/marketplace/images/metamask-transaction.png differ diff --git a/docs/marketplace/images/models-open.png b/docs/marketplace/images/models-open.png deleted file mode 100644 index 17b3b01c..00000000 Binary files a/docs/marketplace/images/models-open.png and /dev/null differ diff --git a/docs/marketplace/images/models-table.png b/docs/marketplace/images/models-table.png index 91f78663..999019dc 100644 Binary files a/docs/marketplace/images/models-table.png and b/docs/marketplace/images/models-table.png differ diff --git a/docs/marketplace/images/models-tiles.png b/docs/marketplace/images/models-tiles.png index 80e7de96..6290d571 100644 Binary files a/docs/marketplace/images/models-tiles.png and b/docs/marketplace/images/models-tiles.png differ diff --git a/docs/marketplace/images/my-files-menu.png b/docs/marketplace/images/my-files-menu.png new file mode 100644 index 00000000..0674c25e Binary files /dev/null and b/docs/marketplace/images/my-files-menu.png differ diff --git a/docs/marketplace/images/my-files-upload.png b/docs/marketplace/images/my-files-upload.png new file mode 100644 index 00000000..0296ce03 Binary files /dev/null and b/docs/marketplace/images/my-files-upload.png differ diff --git a/docs/marketplace/images/my-files.png b/docs/marketplace/images/my-files.png new file mode 100644 index 00000000..31b0c2cc Binary files /dev/null and b/docs/marketplace/images/my-files.png differ diff --git a/docs/marketplace/images/myfiles-open.png b/docs/marketplace/images/myfiles-open.png deleted file mode 100644 index 3c8c297f..00000000 Binary files a/docs/marketplace/images/myfiles-open.png and /dev/null differ diff --git a/docs/marketplace/images/myfiles-upload.png b/docs/marketplace/images/myfiles-upload.png deleted file mode 100644 index 86a536a4..00000000 Binary files a/docs/marketplace/images/myfiles-upload.png and /dev/null differ diff --git a/docs/marketplace/images/myfiles.png b/docs/marketplace/images/myfiles.png deleted file mode 100644 index 1de7a2cd..00000000 Binary files a/docs/marketplace/images/myfiles.png and /dev/null differ diff --git a/docs/marketplace/images/order-builder-compute.png b/docs/marketplace/images/order-builder-compute.png index 9bec5651..9ddf1995 100644 Binary files a/docs/marketplace/images/order-builder-compute.png and b/docs/marketplace/images/order-builder-compute.png differ diff --git a/docs/marketplace/images/order-builder-empty.png b/docs/marketplace/images/order-builder-empty.png deleted file mode 100644 index 5d7913bd..00000000 Binary files a/docs/marketplace/images/order-builder-empty.png and /dev/null differ diff --git a/docs/marketplace/images/order-builder-engine-settings.png b/docs/marketplace/images/order-builder-engine-settings.png index 29843563..69fc5c0d 100644 Binary files a/docs/marketplace/images/order-builder-engine-settings.png and b/docs/marketplace/images/order-builder-engine-settings.png differ diff --git a/docs/marketplace/images/order-builder-engine.png b/docs/marketplace/images/order-builder-engine.png index 50dc9660..a8ac8d98 100644 Binary files a/docs/marketplace/images/order-builder-engine.png and b/docs/marketplace/images/order-builder-engine.png differ diff --git a/docs/marketplace/images/order-builder-footer.png b/docs/marketplace/images/order-builder-footer.png index 9fc6a876..e5afd0fb 100644 Binary files a/docs/marketplace/images/order-builder-footer.png and b/docs/marketplace/images/order-builder-footer.png differ diff --git a/docs/marketplace/images/order-builder-open.png b/docs/marketplace/images/order-builder-open.png deleted file mode 100644 index cf8c7001..00000000 Binary files a/docs/marketplace/images/order-builder-open.png and /dev/null differ diff --git a/docs/marketplace/images/order-builder-queue.png b/docs/marketplace/images/order-builder-queue.png index afdc0e1b..63b9a31a 100644 Binary files a/docs/marketplace/images/order-builder-queue.png and b/docs/marketplace/images/order-builder-queue.png differ diff --git a/docs/marketplace/images/order-builder.png b/docs/marketplace/images/order-builder.png new file mode 100644 index 00000000..52b7f38a Binary files /dev/null and b/docs/marketplace/images/order-builder.png differ diff --git a/docs/marketplace/images/order-full.png b/docs/marketplace/images/order-full.png deleted file mode 100644 index d64310bd..00000000 Binary files a/docs/marketplace/images/order-full.png and /dev/null differ diff --git a/docs/marketplace/images/order-online.png b/docs/marketplace/images/order-online.png index 73735208..18fca47e 100644 Binary files a/docs/marketplace/images/order-online.png and b/docs/marketplace/images/order-online.png differ diff --git a/docs/marketplace/images/order-providers.png b/docs/marketplace/images/order-providers.png index f237316d..0c244b8a 100644 Binary files a/docs/marketplace/images/order-providers.png and b/docs/marketplace/images/order-providers.png differ diff --git a/docs/marketplace/images/order-tunnels.png b/docs/marketplace/images/order-tunnels.png index 43160a94..4f7e55e7 100644 Binary files a/docs/marketplace/images/order-tunnels.png and b/docs/marketplace/images/order-tunnels.png differ diff --git a/docs/marketplace/images/order.png b/docs/marketplace/images/order.png new file mode 100644 index 00000000..28ccba5a Binary files /dev/null and b/docs/marketplace/images/order.png differ diff --git a/docs/marketplace/images/web3-account.png b/docs/marketplace/images/web3-account.png index 2f9f6bdc..ef337444 100644 Binary files a/docs/marketplace/images/web3-account.png and b/docs/marketplace/images/web3-account.png differ diff --git a/docs/marketplace/images/web3acc-storage.png b/docs/marketplace/images/web3acc-storage.png deleted file mode 100644 index 885e23cb..00000000 Binary files a/docs/marketplace/images/web3acc-storage.png and /dev/null differ diff --git a/docs/marketplace/images/web3acc-storj.png b/docs/marketplace/images/web3acc-storj.png index e3fcea6e..1f98b4a5 100644 Binary files a/docs/marketplace/images/web3acc-storj.png and b/docs/marketplace/images/web3acc-storj.png differ diff --git a/docs/marketplace/limitations.md b/docs/marketplace/limitations.md index 657e21e6..c372b37d 100644 --- a/docs/marketplace/limitations.md +++ b/docs/marketplace/limitations.md @@ -21,20 +21,20 @@ Super Protocol constantly adds more TDX+H100 machines and will soon begin onboar Pricing and restrictions: - Order lease time: minimum 2 hours. -- Compute costs 0.326 TEE tokens per hour in most cases. -- Models from the Marketplace cost 0 TEE per order. -- Engines cost 0 TEE per order. -- Setting up a confidential tunnel costs approximately 0.5 TEE per order. +- Compute costs 0.326 SPPI tokens per hour in most cases. +- Models from the Marketplace cost 0 SPPI per order. +- Engines cost 0 SPPI per order. +- Setting up a confidential tunnel costs 0.1 SPPI per order or less. For example, a two-hour GPU-order would cost: -0.326 x 2 + ~0.5 = **1.1-1.2 TEE** tokens. +0.326 x 2 + ~0.1 = **0.752 SPPI** tokens. -The total gas fee varies, but it is approximately **0.25-0.6 POL** per order. +The total gas fee varies, but it is approximately **0.00001 BNB** per order. ## Token limits -All users can receive up to **5 TEE** tokens daily. Web3 users can also get up to **2 POL** tokens daily. +All users can receive up to **5 SPPI** tokens daily. Web3 users can also get up to **0.0001 BNB** tokens daily. ## Model limits diff --git a/docs/marketplace/marketplace/offer.md b/docs/marketplace/marketplace/offer.md index ab12ea2b..23006395 100644 --- a/docs/marketplace/marketplace/offer.md +++ b/docs/marketplace/marketplace/offer.md @@ -33,7 +33,7 @@ The **Pricing** tab contains the offer requirements, detailing how many confiden

-- Pricing type and cost in TEE tokens: +- Pricing type and cost in SPPI tokens: + **Fixed** indicates you must pay only once to lease the offer, regardless of the lease duration. + **Per Hour** indicates you must pay for each hour of leasing the offer. - **CPU vCores**: number of CPU cores, can be fractional. diff --git a/docs/marketplace/my-content/my-files/index.md b/docs/marketplace/my-content/my-files/index.md index 0d2f792a..e485b88b 100644 --- a/docs/marketplace/my-content/my-files/index.md +++ b/docs/marketplace/my-content/my-files/index.md @@ -13,7 +13,7 @@ Datasets are not yet available in the current version of the Marketplace. ::: - +

diff --git a/docs/marketplace/orders/all-orders.md b/docs/marketplace/orders/all-orders.md index 9549c914..40fe7f3b 100644 --- a/docs/marketplace/orders/all-orders.md +++ b/docs/marketplace/orders/all-orders.md @@ -17,7 +17,7 @@ The table in the center of the screen provides essential information about your - **Modified Date**: the date and time of the latest change in the order status. - **Order ID**: a unique order identification number. It is incremental and continuous for all orders and suborders on Super Protocol. - **Status**: current status of the order. Read about [statuses](/fundamentals/orders#order-status). -- **Cost to Date**: the total amount of TEE tokens spent on the order so far. +- **Cost to Date**: the total amount of SPPI tokens spent on the order so far. - **Balance**: the remaining order balance. When it reaches zero, the order processing stops. To replenish the balance, open the **Order** screen and click the **Extend Lease** button. - **Engine**: the AI engine that launches the model in the order. - **Model**: the main model used in the order. diff --git a/docs/marketplace/orders/order-builder/index.md b/docs/marketplace/orders/order-builder/index.md index 834fe900..31493bd3 100644 --- a/docs/marketplace/orders/order-builder/index.md +++ b/docs/marketplace/orders/order-builder/index.md @@ -14,7 +14,7 @@ Order Builder is a tool to configure orders from the main components: Read [How to Place an Order](/marketplace/guides/place-order) for step-by-step instructions. - +
## Order Type diff --git a/docs/marketplace/orders/order/index.md b/docs/marketplace/orders/order/index.md index 82142e1d..f4c839f8 100644 --- a/docs/marketplace/orders/order/index.md +++ b/docs/marketplace/orders/order/index.md @@ -7,7 +7,7 @@ sidebar_position: 3 This screen provides detailed information about an order. Read about [Orders](/fundamentals/orders). - +

@@ -46,7 +46,7 @@ Read about [statuses](/fundamentals/orders#order-status). The **Financials** section shows payment-related information about the order: -- **Cost To Date** is the total amount of TEE tokens spent on the order so far. +- **Cost To Date** is the total amount of SPPI tokens spent on the order so far. - **Cost Per Hour** is the total cost of all the offers priced per hour. The order balance decreases by this amount every hour. - **Balance** is the remaining order balance. You can replenish the balance using the **Extend Lease** button. @@ -81,7 +81,7 @@ The **Cancel Order** button lets you cancel the order and transfer the remaining ### Extend Lease -The **Extend Lease** button opens the **Extend Lease** window that allows you to add TEE tokens to the order balance: +The **Extend Lease** button opens the **Extend Lease** window that allows you to add SPPI tokens to the order balance: - For Fine-tune orders, it may be necessary to finish the computation. - For Deploy orders, it increases the time the model will be running. @@ -92,7 +92,7 @@ The **Extend Lease** button opens the **Extend Lease** window that allows you to During the testnet, the maximum running time for orders is limited due to limited computing resources. Check the [Testnet Limitations](/marketplace/limitations). -When the order is complete, all unspent TEE tokens on the order balance automatically return to the customer's wallet. +When the order is complete, all unspent SPPI tokens on the order balance automatically return to the customer's wallet. ### Get Result @@ -127,7 +127,7 @@ The **Tunnel Orders** tab contains information about tunnel orders related to th - **Offer**: the solution used in the tunnel's order or suborder. Read about [orders](/fundamentals/orders) and [tunnels](/fundamentals/tunnels). - **Status**: current status of the order. Read about [statuses](/fundamentals/orders#order-status). - **Lease Remaining**: the remaining time until the order is complete and gets the Done status. -- **Cost to Date**: the total amount of TEE tokens spent on the order so far. +- **Cost to Date**: the total amount of SPPI tokens spent on the order so far. - **Cost Per Hour** (hidden by default): the total cost of all the offers priced per hour. Every hour, the order balance decreases by this amount. - **Balance**: the remaining order balance. When it reaches zero, the order gets the Done status. You can replenish the balance using the **Extend Lease** button. @@ -153,5 +153,5 @@ The **Events** tab contains information on what is happening with the order. + **OrderEncryptedResultUpdated**: the resource path to the order result was written to the blockchain. + **OrderChangeWithdrawn**: the remaining token balance was returned to the customer. + **OrderProfitWithdrawn**: the provider withdrew the offer payment from the order balance. -- **Value**: transaction value in TEE tokens, if applicable. +- **Value**: transaction value in SPPI tokens, if applicable. - **Txn Hash**: transaction hash. Clicking it opens the transaction in the [OKLink block explorer](https://www.oklink.com/). \ No newline at end of file diff --git a/docs/marketplace/release-history/index.md b/docs/marketplace/release-history/.index.md similarity index 88% rename from docs/marketplace/release-history/index.md rename to docs/marketplace/release-history/.index.md index 0c58052a..e2bffa6a 100644 --- a/docs/marketplace/release-history/index.md +++ b/docs/marketplace/release-history/.index.md @@ -14,9 +14,13 @@ Features coming up in the next phases: - More AI engines and model categories. - A light UI theme. +_March 10, 2025:_ + +- Marketplace moves to opBNB. + _February 17, 2025:_ -- AI Marketplace moves from the Amoy testnet to the Polygon mainnet. +- Marketplace moves from the Amoy testnet to Polygon. _November 21, 2024:_ diff --git a/docs/whitepaper/architecture.md b/docs/whitepaper/architecture.md index d6a3af36..8c8a1459 100644 --- a/docs/whitepaper/architecture.md +++ b/docs/whitepaper/architecture.md @@ -39,10 +39,6 @@ sidebar_position: 8 The Execution Controller receives the request for a solution and returns the URL of the encrypted solution along with the key to then decrypt it into the blockchain. The key is encrypted with the trusted loader key. -## Protocol Speed - -Polygon has been chosen as the main network. Polygon supports the execution of up to [7,200 transactions per second](https://twitter.com/0xpolygon/status/1283467641076584448?lang=en). A minimum of 4 transactions is required to process one request. Thus, Super Protocol allows you to process up to 1,800 orders per second. There are no limitations on the data volume provided as the protocol allows the use of any file storage. - ## Security Since confidentiality is the core feature of Super Protocol, data is secured at all stages of processing. diff --git a/docs/whitepaper/blockchain-solution.md b/docs/whitepaper/blockchain-solution.md index eb9a1d4e..262c8724 100644 --- a/docs/whitepaper/blockchain-solution.md +++ b/docs/whitepaper/blockchain-solution.md @@ -618,8 +618,6 @@ The user can work with either network through the same smart contract interface. If Sidechain solutions are used, the entire logic is represented as an overlay on top of the blockchains. In order to pay for services in the Super Protocol system, the consumer uses tokens on the root network and wrapped tokens provided by Sidechain gateways on the child network. -In the case of Ethereum and Polygon networks, the [State Transfer](https://docs.polygon.technology/docs/develop/l1-l2-communication/state-transfer) mechanism is used for RPC. - #### Parachain ![](images%2Fblockchain-solution-21.png) diff --git a/docs/whitepaper/tee-provider.md b/docs/whitepaper/tee-provider.md index 3066cb9d..04993f9f 100644 --- a/docs/whitepaper/tee-provider.md +++ b/docs/whitepaper/tee-provider.md @@ -181,7 +181,7 @@ The code at the TEE level executes almost [as fast as normal code](https://mediu The entire Super Protocol stack is built on the use of distributed systems. At the heart of such systems is the blockchain, with which the value customer and the value provider interact. For the results of completed orders, the blockchain also provides references to the distributed storage. -The main Super Protocol blockchain is Polygon. The Polygon blockchain network uses the so-called **Proof of Stake (PoS)** consensus system, which is backed by **Tower Consensus** to ensure fault tolerance. It is a variation of the system known as Practical Byzantine Fault Tolerance (PBFT). It allows distributed networks to achieve consensus despite attacks from malicious nodes. +The blockchain network selected for Super Protocol uses the so-called **Proof of Stake (PoS)** consensus system, which is backed by **Tower Consensus** to ensure fault tolerance. It is a variation of the system known as Practical Byzantine Fault Tolerance (PBFT). It allows distributed networks to achieve consensus despite attacks from malicious nodes. As a distributed storage, it is proposed to use systems based on the same principle as PBFT. An example of such a system could be Filecoin. Also, in order to add extra fault tolerance for important data, backup mechanisms can be applied.