From 6ff23bdb4a94cabd262af4f212c9c546d8f90649 Mon Sep 17 00:00:00 2001 From: Patrick Kuo Date: Fri, 22 Jul 2022 22:05:44 +0100 Subject: [PATCH] Update openrpc.json link (#3434) --- doc/src/build/json-rpc.md | 2 +- doc/src/contribute/faq.md | 2 +- doc/src/explore/prototypes.md | 4 ++-- doc/src/learn/index.md | 2 +- doc/src/siteconfig.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/src/build/json-rpc.md b/doc/src/build/json-rpc.md index dbe6dd3bdec4b..11a4ea5400e9a 100644 --- a/doc/src/build/json-rpc.md +++ b/doc/src/build/json-rpc.md @@ -55,7 +55,7 @@ curl --location --request POST $SUI_RPC_HOST \ --data-raw '{ "jsonrpc":"2.0", "method":"rpc.discover","id":1}' ``` -You can see an example of the discovery service in the [OpenRPC Playground](https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/189d61df846f7c3676c1215cc41fb970ee9e22b5/sui/open_rpc/spec/openrpc.json). +You can see an example of the discovery service in the [OpenRPC Playground](https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/crates/sui-open-rpc/spec/openrpc.json). ### sui_syncAccountState diff --git a/doc/src/contribute/faq.md b/doc/src/contribute/faq.md index 7f6d5ea32727a..11a816635b9a0 100644 --- a/doc/src/contribute/faq.md +++ b/doc/src/contribute/faq.md @@ -19,7 +19,7 @@ Use these online resources: * Sui Website: [https://sui.io/](https://sui.io/) * Sui Developer Portal: [https://docs.sui.io/](https://docs.sui.io/) * Sui Smart Contract White Paper: [https://sui.io/whitepaper](https://sui.io/whitepaper) -* SDK reference: [Sui JSON-RPC](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/sui/open_rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false) +* SDK reference: [Sui JSON-RPC](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/crates/sui-open-rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false) ### What does Sui offer over other blockchains? diff --git a/doc/src/explore/prototypes.md b/doc/src/explore/prototypes.md index 0a5f2c477939b..05131abee26d5 100644 --- a/doc/src/explore/prototypes.md +++ b/doc/src/explore/prototypes.md @@ -23,7 +23,7 @@ With Sui, we believe game developers should not be limited by the platform perfo ## How we did it -Created by game development studio GenITeam, these prototypes use both the Unity SDK and Sui [APIs](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/sui/open_rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false). +Created by game development studio GenITeam, these prototypes use both the Unity SDK and Sui [APIs](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/crates/sui-open-rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false). GenITeam’s developers who worked on this collaboration are neither smart contract nor Move developers. Based on their input, we created a data model and shared simple APIs. With these APIs, geniteam was able to mint fully on-chain NFTs that are mutable, own other on-chain assets, and freely transfer to other applications. @@ -234,5 +234,5 @@ Gameplay: ## Further reading -* Check out Sui [APIs](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/sui/open_rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false). +* Check out Sui [APIs](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/crates/sui-open-rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false). * Learn about Sui [objects](../build/objects.md). diff --git a/doc/src/learn/index.md b/doc/src/learn/index.md index 3fea75f306ddd..94c9573a39ae0 100644 --- a/doc/src/learn/index.md +++ b/doc/src/learn/index.md @@ -55,5 +55,5 @@ Navigate and search this site however you see fit. Here is the order we recommen 1. [Build](../build/index.md) smart contracts, the Sui client, a Sui fullnode, and more. 1. [Explore](../explore/index.md) prototypes and examples. 1. [Contribute](../contribute/index.md) to Sui by joining the community, making enhancements, and learning about Mysten Labs. -1. Employ the [Sui API Reference](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/sui/open_rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false) reference files for the [Sui JSON-RPC API](../build/json-rpc.md). +1. Employ the [Sui API Reference](https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/crates/sui-open-rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false) reference files for the [Sui JSON-RPC API](../build/json-rpc.md). 1. View the [Mysten Labs](https://www.youtube.com/channel/UCI7pCUVxSLcndVhPpZOwZgg) YouTube channel for introductory videos on technology and partners. diff --git a/doc/src/siteconfig.json b/doc/src/siteconfig.json index 3d40c3a48d6f7..621fc3aeb8def 100644 --- a/doc/src/siteconfig.json +++ b/doc/src/siteconfig.json @@ -26,7 +26,7 @@ }, { "title": "SDK Reference", - "link": "https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/sui/open_rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false", + "link": "https://playground.open-rpc.org/?uiSchema%5BappBar%5D%5Bui:splitView%5D=false&schemaUrl=https://raw.githubusercontent.com/MystenLabs/sui/main/crates/sui-open-rpc/spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:input%5D=false", "external": true }, {