From 554167ccd70bd28d7a0bd3410a289fd29ab1ac71 Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Fri, 20 Sep 2024 15:57:10 -0500 Subject: [PATCH 1/3] docs: Remove symlinked files --- docs/dapp/sapphire/README.mdx | 135 --------------------------- docs/dapp/sapphire/addresses.md | 1 - docs/dapp/sapphire/authentication.md | 1 - docs/dapp/sapphire/browser.md | 1 - docs/dapp/sapphire/deployment.md | 1 - docs/dapp/sapphire/diagrams | 1 - docs/dapp/sapphire/gasless.md | 1 - docs/dapp/sapphire/guide.mdx | 1 - docs/dapp/sapphire/images | 1 - docs/dapp/sapphire/quickstart.mdx | 1 - docs/dapp/sapphire/security.md | 1 - 11 files changed, 145 deletions(-) delete mode 100644 docs/dapp/sapphire/README.mdx delete mode 120000 docs/dapp/sapphire/addresses.md delete mode 120000 docs/dapp/sapphire/authentication.md delete mode 120000 docs/dapp/sapphire/browser.md delete mode 120000 docs/dapp/sapphire/deployment.md delete mode 120000 docs/dapp/sapphire/diagrams delete mode 120000 docs/dapp/sapphire/gasless.md delete mode 120000 docs/dapp/sapphire/guide.mdx delete mode 120000 docs/dapp/sapphire/images delete mode 120000 docs/dapp/sapphire/quickstart.mdx delete mode 120000 docs/dapp/sapphire/security.md diff --git a/docs/dapp/sapphire/README.mdx b/docs/dapp/sapphire/README.mdx deleted file mode 100644 index 0c07869fc8..0000000000 --- a/docs/dapp/sapphire/README.mdx +++ /dev/null @@ -1,135 +0,0 @@ -import DocCardList from '@theme/DocCardList'; -import {findSidebarItem} from '@site/src/sidebarUtils'; -import {AddSapphireToMetaMask as S, AddSapphireTestnetToMetaMask as ST} from '@site/src/AddToMetaMask'; - -# Sapphire ParaTime - -Sapphire is our official confidential ParaTime providing a smart contract -development environment with [Ethereum Virtual Machine (EVM)] compatibility. - -As the official confidential EVM-compatible ParaTime on the Oasis Network, -Sapphire allows for: - -* Confidential state, end-to-end encryption, confidential randomness -* EVM compatibility -* Easy integration with EVM-based dApps, such as DeFi, NFT, Metaverse and - crypto gaming -* Scalability: increased throughput of transactions -* Low-cost: 99%+ lower fees than Ethereum -* 6 second finality (1 block) -* Cross-chain bridge to enable cross-chain interoperability (upcoming) - -If you are not bound to EVM and you wish to develop dApps with more -fine-grained confidentiality, check out the -[Cipher ParaTime](../cipher/README.mdx). - -[Ethereum Virtual Machine (EVM)]: https://ethereum.org/en/developers/docs/evm/ - -## Chain Information - -### Mainnet - -- Network name: `sapphire` -- Long network name: `Oasis Sapphire` -- Chain ID: - - Hex: `0x5afe` - - Decimal: `23294` - -### Testnet - -- Network name: `sapphire-testnet` -- Long network name: `Oasis Sapphire Testnet` -- Chain ID: - - Hex: `0x5aff` - - Decimal: `23295` - -## RPC Endpoints - -:::danger - -The RPC endpoint is a *point of trust*. Beside traffic rate limiting, it can -also perform censorship or even a man-in-the-middle attack. If you have security -considerations, we strongly recommend that you set up your own [ParaTime client -node][paratime-client-node] and the [Web3-compatible gateway]. - -::: - -[Web3-compatible gateway]: ../../node/web3.mdx -[paratime-client-node]: ../../node/run-your-node/paratime-client-node.mdx - -You can connect to one of the public Web3 gateways below (in alphabetic order): - -| Provider | Mainnet RPC URLs | Testnet RPC URLs | Supports Confidential Queries | -|-----------------------------|-------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|-------------------------------| -| [1RPC] | | *N/A* | Yes | -| [Oasis Protocol Foundation] | | | Yes | - -[Oasis Protocol Foundation]: https://oasisprotocol.org - -Public RPCs may have rate limits or traffic restrictions. For professional, -dedicated RPC endpoints, consider the following providers (in alphabetic order): - -| Provider | Instructions | Pricing | Supports Confidential Queries | -|--------------|----------------------------------------|-------------------------------|-------------------------------| -| [1RPC] | [docs.1rpc.io][1RPC-docs] | [Pricing][1RPC-pricing] | Yes | -| [Chainstack] | [docs.chainstack.com][Chainstack-docs] | [Pricing][Chainstack-pricing] | Yes | - - -[1RPC]: https://www.1rpc.io/ -[1RPC-docs]: https://docs.1rpc.io/guide/how-to-use-1rpc -[1RPC-pricing]: https://www.1rpc.io/#pricing -[Chainstack]: https://chainstack.com/build-better-with-oasis-sapphire/ -[Chainstack-docs]: https://docs.chainstack.com/docs/oasis-sapphire-tooling -[Chainstack-pricing]: https://chainstack.com/pricing/ - -## Block Explorers - -| Name (Provider) | Mainnet URL | Testnet URL | EIP-3091 compatible | -|-----------------------------------------------|--------------------------------------------|--------------------------------------------|---------------------| -| Oasis Explorer ([Oasis Protocol Foundation]) | https://explorer.oasis.io/mainnet/sapphire | https://explorer.oasis.io/testnet/sapphire | Yes | -| Oasis Scan ([Bit Cat]) | [https://www.oasisscan.com/paratimes/000…279](https://www.oasisscan.com/paratimes/000000000000000000000000000000000000000000000000f80306c9858e7279) | [https://testnet.oasisscan.com/paratimes/000…f6c](https://testnet.oasisscan.com/paratimes/000000000000000000000000000000000000000000000000a6d1e3ebf60dff6c) | No | - -[Bit Cat]: https://www.bitcat365.com/ - -## Indexers - -| Name (Provider) | Mainnet URL | Testnet URL | Documentation | -|--------------------|------------------------------------------------------------------|--------------------------------------------------------|--------------------------------------------| -| [Covalent] | `https://api.covalenthq.com/v1/oasis-sapphire-mainnet` | `https://api.covalenthq.com/v1/oasis-sapphire-testnet` | [Unified API docs][Covalent-docs] | -| [Goldsky Subgraph][Goldsky] | *N/A* | *N/A* | [Documentation site][Goldsky-docs] | -| Oasis Nexus ([Oasis Protocol Foundation]) | `https://nexus.oasis.io/v1/` | `https://testnet.nexus.oasis.io/v1/` | [API][Nexus-docs] | -| Oasis Scan ([Bit Cat]) | `https://api.oasisscan.com/mainnet/v2` | `https://api.oasisscan.com/testnet/v2` | [Mainnet Runtime API][OasisScan-Mainnet-docs], [Testnet Runtime API][OasisScan-Testnet-docs] | -| [SubQuery Network][SubQuery] | *N/A* | *N/A* | [SubQuery Academy][SubQuery-docs], [QuickStart][SubQuery-quickstart], [Starter project][SubQuery-starter] | - -[Covalent]: https://www.covalenthq.com/ -[Covalent-docs]: https://www.covalenthq.com/docs/unified-api/ -[Nexus-docs]: https://nexus.oasis.io/v1/spec/v1.html -[Goldsky]: https://goldsky.com -[Goldsky-docs]: https://docs.goldsky.com/subgraphs/deploying-subgraphs -[OasisScan-Testnet-docs]: https://api.oasisscan.com/testnet/swagger-ui/#/runtime-controller -[OasisScan-Mainnet-docs]: https://api.oasisscan.com/mainnet/swagger-ui/#/runtime-controller -[SubQuery]: https://subquery.network -[SubQuery-docs]: https://academy.subquery.network/ -[SubQuery-quickstart]: https://academy.subquery.network/quickstart/quickstart.html -[SubQuery-starter]: https://github.com/subquery/ethereum-subql-starter/tree/main/Oasis/oasis-sapphire-starter - -:::note - -If you are running your own Sapphire endpoint, a block explorer, or an indexer -and wish to be added to these docs, open an issue at -[github.com/oasisprotocol/docs]. - -::: - -[github.com/oasisprotocol/docs]: https://github.com/oasisprotocol/docs - -## See also - - diff --git a/docs/dapp/sapphire/addresses.md b/docs/dapp/sapphire/addresses.md deleted file mode 120000 index 8ef4fd10cf..0000000000 --- a/docs/dapp/sapphire/addresses.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/addresses.md \ No newline at end of file diff --git a/docs/dapp/sapphire/authentication.md b/docs/dapp/sapphire/authentication.md deleted file mode 120000 index 912a6e5c27..0000000000 --- a/docs/dapp/sapphire/authentication.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/authentication.md \ No newline at end of file diff --git a/docs/dapp/sapphire/browser.md b/docs/dapp/sapphire/browser.md deleted file mode 120000 index 1b1dfca35c..0000000000 --- a/docs/dapp/sapphire/browser.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/browser.md \ No newline at end of file diff --git a/docs/dapp/sapphire/deployment.md b/docs/dapp/sapphire/deployment.md deleted file mode 120000 index 7a8fe54002..0000000000 --- a/docs/dapp/sapphire/deployment.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/deployment.md \ No newline at end of file diff --git a/docs/dapp/sapphire/diagrams b/docs/dapp/sapphire/diagrams deleted file mode 120000 index 59ca8029ec..0000000000 --- a/docs/dapp/sapphire/diagrams +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/diagrams \ No newline at end of file diff --git a/docs/dapp/sapphire/gasless.md b/docs/dapp/sapphire/gasless.md deleted file mode 120000 index 1ae10d0a76..0000000000 --- a/docs/dapp/sapphire/gasless.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/gasless.md \ No newline at end of file diff --git a/docs/dapp/sapphire/guide.mdx b/docs/dapp/sapphire/guide.mdx deleted file mode 120000 index 872eeaa164..0000000000 --- a/docs/dapp/sapphire/guide.mdx +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/guide.mdx \ No newline at end of file diff --git a/docs/dapp/sapphire/images b/docs/dapp/sapphire/images deleted file mode 120000 index dbac58ba8e..0000000000 --- a/docs/dapp/sapphire/images +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/images \ No newline at end of file diff --git a/docs/dapp/sapphire/quickstart.mdx b/docs/dapp/sapphire/quickstart.mdx deleted file mode 120000 index b57943dc32..0000000000 --- a/docs/dapp/sapphire/quickstart.mdx +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/quickstart.mdx \ No newline at end of file diff --git a/docs/dapp/sapphire/security.md b/docs/dapp/sapphire/security.md deleted file mode 120000 index 701ce461be..0000000000 --- a/docs/dapp/sapphire/security.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/security.md \ No newline at end of file From 9a5cb33a888e7609b34f236dbb3265b20bdb8e89 Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Fri, 20 Sep 2024 15:59:23 -0500 Subject: [PATCH 2/3] Add symlinked dir --- docs/dapp/sapphire | 1 + 1 file changed, 1 insertion(+) create mode 120000 docs/dapp/sapphire diff --git a/docs/dapp/sapphire b/docs/dapp/sapphire new file mode 120000 index 0000000000..64205ca2bf --- /dev/null +++ b/docs/dapp/sapphire @@ -0,0 +1 @@ +../../external/sapphire-paratime/docs/ \ No newline at end of file From 84e6ada889a81bb0652f9ef9ab17893fb0a8713d Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Sun, 22 Sep 2024 16:23:29 -0500 Subject: [PATCH 3/3] docs: Bump external/sapphire-paratime --- external/sapphire-paratime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/sapphire-paratime b/external/sapphire-paratime index 1d1308b603..ec67bf5540 160000 --- a/external/sapphire-paratime +++ b/external/sapphire-paratime @@ -1 +1 @@ -Subproject commit 1d1308b60357a9f4308d40602065d2dd4977feca +Subproject commit ec67bf55400c027cbb0e26a1e6ae6e3e6d6f2c84