From 7033356187588ae56b8ef680fb7713e8c53a2e2e Mon Sep 17 00:00:00 2001 From: christianwwwwwwww Date: Tue, 5 Nov 2024 14:06:29 -0800 Subject: [PATCH 1/2] replace developer docs links --- README.md | 6 +++--- create-leo-app/template-react-leo/README.md | 2 +- create-leo-app/template-react-ts/README.md | 2 +- sdk/README.md | 8 ++++---- wasm/Cargo.lock | 2 +- wasm/README.md | 2 +- wasm/src/lib.rs | 2 +- website/src/pages/Homepage.jsx | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 12e3fbd2c..ec92bb310 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- Website + Website @@ -61,9 +61,9 @@ Source: [Aleo Wasm](https://www.npmjs.com/package/@provablehq/wasm) ## 📚 Documentation -#### [API Documentation](https://developer.aleo.org/sdk/typescript/overview) +#### [API Documentation](https://docs.leo-lang.org//sdk/typescript/overview) API Documentation, tutorials for the Aleo SDK, and documentation on how to build Leo and Aleo Instructions programs can -be found on the [Aleo Developer Docs](https://developer.aleo.org/sdk/typescript/overview) page. +be found on the [Leo Developer Docs](https://docs.leo-lang.org/sdk/typescript/overview) page. #### [SDK Readme](https://github.com/ProvableHQ/sdk/tree/testnet3/sdk#readme) The SDK readme provides concepts core to executing zero-knowledge programs in the web and several detailed examples of diff --git a/create-leo-app/template-react-leo/README.md b/create-leo-app/template-react-leo/README.md index 2b7d4c1f9..ead733d96 100644 --- a/create-leo-app/template-react-leo/README.md +++ b/create-leo-app/template-react-leo/README.md @@ -45,7 +45,7 @@ Your app should be running on http://localhost:5173/ > should avoid building a public facing web app with private key information Information on generating a private key, seeding a wallet with funds, and finding a spendable record can be found here -if you are unfamiliar: https://developer.aleo.org/testnet/getting_started/deploy_execute_demo +if you are unfamiliar: https://docs.leo-lang.org/testnet/getting_started/deploy_execute_demo Aleo programs deployed require unique names, make sure to edit the program's name to something unique in `helloworld/src/main.leo`, `helloworld/program.json`, rename `helloworld/inputs/helloworld.in` and rebuild. diff --git a/create-leo-app/template-react-ts/README.md b/create-leo-app/template-react-ts/README.md index 58eaffffc..6241ea117 100644 --- a/create-leo-app/template-react-ts/README.md +++ b/create-leo-app/template-react-ts/README.md @@ -45,7 +45,7 @@ Your app should be running on http://localhost:5173/ > should avoid building a public facing web app with private key information Information on generating a private key, seeding a wallet with funds, and finding a spendable record can be found here -if you are unfamiliar: https://developer.aleo.org/testnet/getting_started/deploy_execute_demo +if you are unfamiliar: https://docs.leo-lang.org/testnet/getting_started/deploy_execute_demo Aleo programs deployed require unique names, make sure to edit the program's name to something unique in `helloworld/src/main.leo`, `helloworld/program.json`, rename `helloworld/inputs/helloworld.in` and rebuild. diff --git a/sdk/README.md b/sdk/README.md index e1df1ba3c..77621faee 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -4,7 +4,7 @@

- Website + Website @@ -182,7 +182,7 @@ function hello: The SDK provides the ability to execute Aleo programs 100% client-side within the browser. The `ProgramManager` object encapsulates the functionality for executing programs and making zero-knowledge proofs about -them. Under the hood it uses cryptographic code compiled from [SnarkVM](https://developer.aleo.org/aleo) into WebAssembly +them. Under the hood it uses cryptographic code compiled from [SnarkVM](https://docs.leo-lang.org/aleo) into WebAssembly with JavaScript bindings that allow for the execution of Aleo programs fully within the browser. Users interested in lower-level details on how this is achieved can visit the [aleo-wasm](https://www.npmjs.com/package/@provablehq/wasm) crate. @@ -395,7 +395,7 @@ const transaction = await programManager.networkClient.getTransaction(tx_id); The `NetworkRecordProvider` will attempt to scan the network for a fee record for the account provided. Doing a recent public transfer to the deploying account will ensure a record is found quickly, or you can provide a fee record manually -by [scanning](https://developer.aleo.org/testnet/getting_started/deploy_execute/#scan) for a record and passing it as a +by [scanning](https://docs.leo-lang.org/testnet/getting_started/deploy_execute/#scan) for a record and passing it as a string. ```typescript @@ -930,7 +930,7 @@ Communication with the Aleo network is done through the `AleoNetworkClient` clas data from Aleo network nodes and submit transactions to the Aleo network. A full list of methods provided by the `AleoNetworkClient` class and usage examples can be found in the -[Network Client API documentation](https://developer.aleo.org/sdk/typescript/aleo_network_client). +[Network Client API documentation](https://docs.leo-lang.org/sdk/typescript/aleo_network_client). ## Further Documentation diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 6b3360edb..a38dea04d 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -94,7 +94,7 @@ checksum = "7e4f181fc1a372e8ceff89612e5c9b13f72bff5b066da9f8d6827ae65af492c4" [[package]] name = "aleo-wasm" -version = "0.6.9" +version = "0.7.0" dependencies = [ "anyhow", "async-trait", diff --git a/wasm/README.md b/wasm/README.md index d05a7869e..d460a12c2 100644 --- a/wasm/README.md +++ b/wasm/README.md @@ -23,7 +23,7 @@ Functionality exposed by this crate includes: * Aleo primitives such as `Records`, `Programs`, and `Transactions` and their associated helper methods * A `ProgramManager` object that contains methods for authoring, deploying, and interacting with Aleo programs -More information on these concepts can be found at the [Aleo Developer Hub](https://developer.aleo.org/concepts). +More information on these concepts can be found at the [Aleo Developer Hub](https://docs.leo-lang.org/concepts). ## Usage diff --git a/wasm/src/lib.rs b/wasm/src/lib.rs index 986cd2653..9b5eaf4d6 100644 --- a/wasm/src/lib.rs +++ b/wasm/src/lib.rs @@ -41,7 +41,7 @@ //! * Aleo primitives such as `Records`, `Programs`, and `Transactions` and their associated helper methods //! * A `ProgramManager` object that contains methods for authoring, deploying, and interacting with Aleo programs //! -//! More information on these concepts can be found at the [Aleo Developer Hub](https://developer.aleo.org/concepts). +//! More information on these concepts can be found at the [Aleo Developer Hub](https://docs.leo-lang.org/concepts). //! //! ## Usage //! The [wasm-pack](https://crates.io/crates/wasm-pack) tool is used to compile the Rust code in this crate into JavaScript diff --git a/website/src/pages/Homepage.jsx b/website/src/pages/Homepage.jsx index 44e51f674..3c9d11a9c 100644 --- a/website/src/pages/Homepage.jsx +++ b/website/src/pages/Homepage.jsx @@ -32,7 +32,7 @@ const Homepage = () => {