`.
-There's much more functionality to be explored in the [tx-cannon repository](https://github.com/AleoHQ/tx-cannon). You can batch deploy, execute, and transfer, so take advantage of this tool to run development tests on your application!
+There's much more functionality to be explored in the [tx-cannon repository](https://github.com/provablehq/tx-cannon). You can batch deploy, execute, and transfer, so take advantage of this tool to run development tests on your application!
@@ -143,10 +143,10 @@ git push -u origin main
```
### Claim your Leo badge
-1. Go to the Leo repo issues tab [here](https://github.com/AleoHQ/leo/issues/new/choose)
+1. Go to the Leo repo issues tab [here](https://github.com/provablehq/leo/issues/new/choose)
2. Go to π₯ "Badge" and click "Get Started".
3. Follow the brief instructions and submit.
-4. Once your issue is approved, we will add you to the [contributors section](https://github.com/AleoHQ/leo#%EF%B8%8F-contributors) of the Leo README.md file.
+4. Once your issue is approved, we will add you to the [contributors section](https://github.com/provablehq/leo#%EF%B8%8F-contributors) of the Leo README.md file.
Congratulations on becoming a Leo contributor! π
@@ -155,7 +155,7 @@ Congratulations on becoming a Leo contributor! π
1. You downloaded a project off of [Leo Playground](https://play.leo-lang.org/).
-2. You installed [Leo](https://developer.aleo.org/leo/), our statically-typed programming language built for writing private applications, our [transaction cannon](https://github.com/AleoHQ/tx-cannon) for easy deployment and execution, and [snarkOS](https://github.com/AleoNet/snarkOS), the data availability layer.
+2. You installed [Leo](https://developer.aleo.org/leo/), our statically-typed programming language built for writing private applications, our [transaction cannon](https://github.com/provablehq/tx-cannon) for easy deployment and execution, and [snarkOS](https://github.com/AleoNet/snarkOS), the data availability layer.
3. You started a local devnet using the snarkOS repository.
diff --git a/documentation/leo/08_resources.md b/documentation/leo/08_resources.md
index 305135db..e737a76b 100644
--- a/documentation/leo/08_resources.md
+++ b/documentation/leo/08_resources.md
@@ -181,13 +181,13 @@ This greatly increases the constraint numbers and slows down the circuit.
Thank you for helping make Leo better!
-Before contributing, please view the [Contributor Code of Conduct](https://github.com/AleoHQ/leo/blob/master/CONTRIBUTING.md).
+Before contributing, please view the [Contributor Code of Conduct](https://github.com/provablehq/leo/blob/master/CONTRIBUTING.md).
By participating in this project - In the issues, pull requests, or Gitter channels -
you agree to abide by the terms.
## Report an Issue
-To report an issue, please use the [GitHub issues tracker](https://github.com/AleoHQ/leo/issues). When reporting issues, please mention the following details:
+To report an issue, please use the [GitHub issues tracker](https://github.com/provablehq/leo/issues). When reporting issues, please mention the following details:
- Which version of Leo you are using.
- What was the source code (if applicable).
@@ -233,7 +233,7 @@ Then when running the test command, make sure you have the environment variable
### Grammar
-[The `grammars` repository](https://github.com/AleoHQ/grammars) contains a file [`leo.abnf`](https://github.com/AleoHQ/grammars/blob/master/leo.abnf) that has the Leo grammar rules in the ABNF format.
+[The `grammars` repository](https://github.com/provablehq/grammars) contains a file [`leo.abnf`](https://github.com/provablehq/grammars/blob/master/leo.abnf) that has the Leo grammar rules in the ABNF format.
If your changes affect a grammar rule, we may ask you to modify it in that `.abnf` file.
We appreciate your hard work!
diff --git a/documentation/leo/11_basic_bank.md b/documentation/leo/11_basic_bank.md
index cbbd7587..738f2f99 100644
--- a/documentation/leo/11_basic_bank.md
+++ b/documentation/leo/11_basic_bank.md
@@ -71,7 +71,7 @@ Let's make some bank transactions. We'll take the role of the bank and issue 100
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpHtqVWT6fSHgUMNxsuVf7eaR6id2cj7TieKY1Z8CP5rCD
" > .env
@@ -84,7 +84,7 @@ Now, let's have the user deposit 50 of their tokens with the bank. We'll take th
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp75cpr5NNQpVWc5mfsD9Uf2wg6XvHknf82iwB636q3rtc
" > .env
@@ -109,7 +109,7 @@ Now, let's have the bank withdraw all tokens after 15 periods. Let's switch to t
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpHtqVWT6fSHgUMNxsuVf7eaR6id2cj7TieKY1Z8CP5rCD
" > .env
diff --git a/documentation/leo/12_vote.md b/documentation/leo/12_vote.md
index 72ce42c1..c208c16e 100644
--- a/documentation/leo/12_vote.md
+++ b/documentation/leo/12_vote.md
@@ -74,7 +74,7 @@ Let's propose a new ballot. Take on the role of the proposer and run the propose
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp8wKHF9zFX1j4YJrK3JhxtyKDmPbRu9LrnEW8Ki56UQ3G
" > .env
@@ -93,7 +93,7 @@ Let's create a new private ticket to make a vote. Take on the role of voter 1 an
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpHmSu9zuhyuCJqVfQE8p82HXpCTLVa8Z2HUNaiy9mrug2
" > .env
@@ -118,7 +118,7 @@ Let's create a new private ticket for voter 2. Take on the role of voter 1 and r
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp6NHwbT7PkpnEFeBidz5ZkZ14W8WXZmJ6kjKbEHYdMmf2
" > .env
diff --git a/documentation/leo/13_token.md b/documentation/leo/13_token.md
index 89622885..fd53e5bb 100644
--- a/documentation/leo/13_token.md
+++ b/documentation/leo/13_token.md
@@ -48,7 +48,7 @@ Let's play Alice. Swap in her private key and publicly mint 100 tokens.
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp1w8PTxrRgGfAtfKUSq43iQyVbdQHfhGbiNPEg2LVSEXR
" > .env
@@ -63,7 +63,7 @@ Now let's privately mint 100 tokens for Bob. Switch to Bob's private key and pri
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpFo72g7N9iFt3JzzeG8CqsS5doAiXyFvNCgk2oHvjRCzF
" > .env
@@ -78,7 +78,7 @@ Let's publicly transfer 10 tokens from Alice to Bob. Swap the private key back t
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp1w8PTxrRgGfAtfKUSq43iQyVbdQHfhGbiNPEg2LVSEXR
" > .env
@@ -93,7 +93,7 @@ Let's privately transfer 20 tokens from Bob to Alice. Switch to Bob's private ke
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpFo72g7N9iFt3JzzeG8CqsS5doAiXyFvNCgk2oHvjRCzF
" > .env
@@ -112,7 +112,7 @@ Let's convert 30 of Alice's public tokens into 30 private tokens for Bob. Switch
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp1w8PTxrRgGfAtfKUSq43iQyVbdQHfhGbiNPEg2LVSEXR
" > .env
@@ -127,7 +127,7 @@ Let's convert 40 of Bob's private tokens into 40 public tokens for Alice. Switch
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpFo72g7N9iFt3JzzeG8CqsS5doAiXyFvNCgk2oHvjRCzF
" > .env
diff --git a/documentation/leo/15_battleship.md b/documentation/leo/15_battleship.md
index f2795ac6..ab63b4de 100644
--- a/documentation/leo/15_battleship.md
+++ b/documentation/leo/15_battleship.md
@@ -70,7 +70,7 @@ With player 1's private key, they initialize the board with the placement of 4 s
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpGKaJY47BXb6knSqmT3JZnBUEGBDFAWz2nMVSsjwYpJmm
" > .env
@@ -157,7 +157,7 @@ We switch our .env to player 2's private key and similarly run initialize_board
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp86FNGdKxjgAdgQZ967bqBanjuHkAaoRe19RK24ZCGsHH
" > .env
@@ -249,7 +249,7 @@ We switch the .env back to player 1, and we run the transition function play.
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpGKaJY47BXb6knSqmT3JZnBUEGBDFAWz2nMVSsjwYpJmm
" > .env
@@ -305,7 +305,7 @@ We switch the .env back to player 2, and we run the transition function play.
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp86FNGdKxjgAdgQZ967bqBanjuHkAaoRe19RK24ZCGsHH
" > .env
@@ -366,7 +366,7 @@ We switch the .env back to player 1, and we run the transition function play.
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkpGKaJY47BXb6knSqmT3JZnBUEGBDFAWz2nMVSsjwYpJmm
" > .env
@@ -434,7 +434,7 @@ We switch the .env back to player 2, and we run the transition function play.
```bash
echo "
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp86FNGdKxjgAdgQZ967bqBanjuHkAaoRe19RK24ZCGsHH
" > .env
diff --git a/documentation/leo/17_testnet_beta.md b/documentation/leo/17_testnet_beta.md
index ee700abd..8253c964 100644
--- a/documentation/leo/17_testnet_beta.md
+++ b/documentation/leo/17_testnet_beta.md
@@ -342,4 +342,3 @@ This restriction can be mitigated by future improvements to `snarkVM`, however w
[^1]: There are some operations that are not purely functional, e.g `add` which can fail on overflow.
-
diff --git a/documentation/sdk/create-aleo-app/00_app_installation.md b/documentation/sdk/create-leo-app/00_app_installation.md
similarity index 100%
rename from documentation/sdk/create-aleo-app/00_app_installation.md
rename to documentation/sdk/create-leo-app/00_app_installation.md
diff --git a/documentation/sdk/create-aleo-app/01_create_aleo_app.md b/documentation/sdk/create-leo-app/01_create_leo_app.md
similarity index 95%
rename from documentation/sdk/create-aleo-app/01_create_aleo_app.md
rename to documentation/sdk/create-leo-app/01_create_leo_app.md
index 6fae51dd..b0199120 100644
--- a/documentation/sdk/create-aleo-app/01_create_aleo_app.md
+++ b/documentation/sdk/create-leo-app/01_create_leo_app.md
@@ -4,7 +4,7 @@ title: Create Leo App - React + JS + Leo Tutorial
sidebar_label: React + JS + Leo Tutorial
---
-
+
## 1. Installation
@@ -83,7 +83,7 @@ Note down your transaction ID in the back of the URL from the faucet. The succes
```bash
Transfer successful! for message ID: 1156693507768078496
-https://apiv2.aleo.network/testnet3/transaction/at12u62xwfew2rq32xee8nwhtlxghfjz7mm3528yj240nuezue625fqy4lhlp
+https://api.explorer.provable.com/v1/testnet/transaction/at12u62xwfew2rq32xee8nwhtlxghfjz7mm3528yj240nuezue625fqy4lhlp
```
### Leo & `helloworld`
@@ -106,7 +106,7 @@ import helloworld_program from "../helloworld_[randomsuffix]/build/main.aleo?raw
Let's dig in a little more. Navigate back to your Leo project and Add your private key to the `.env` in your new Aleo project. Replace the example private key with the one you saved above.
```bash
-NETWORK=testnet3
+NETWORK=testnet
PRIVATE_KEY=APrivateKey1zkp2FCZZ7ucNVx5hoofizpq18mvCZNKTpqKMTt1wTahmxSf
```
@@ -143,7 +143,7 @@ Take your transaction ID from the Discord URL earlier:
at12u62xwfew2rq32xee8nwhtlxghfjz7mm3528yj240nuezue625fqy4lhlp
```
-Go to βGet Transactionβ at [provable.tools/rest](https://provable.tools/rest) and insert your transaction ID to look at the JSON object. You can similarly use https://api.explorer.aleo.org/v1/testnet3/transaction/[insert-your-transaction-id] to get the same output in your browser.
+Go to βGet Transactionβ at [provable.tools/rest](https://provable.tools/rest) and insert your transaction ID to look at the JSON object. You can similarly use https://api.explorer.provable.com/v1/testnet/transaction/[insert-your-transaction-id] to get the same output in your browser.
![get-transaction](./images/get-transaction.png)
diff --git a/documentation/sdk/create-aleo-app/images/decrypt-record.png b/documentation/sdk/create-leo-app/images/decrypt-record.png
similarity index 100%
rename from documentation/sdk/create-aleo-app/images/decrypt-record.png
rename to documentation/sdk/create-leo-app/images/decrypt-record.png
diff --git a/documentation/sdk/create-aleo-app/images/deployment-console.png b/documentation/sdk/create-leo-app/images/deployment-console.png
similarity index 100%
rename from documentation/sdk/create-aleo-app/images/deployment-console.png
rename to documentation/sdk/create-leo-app/images/deployment-console.png
diff --git a/documentation/sdk/create-aleo-app/images/deployment-success.png b/documentation/sdk/create-leo-app/images/deployment-success.png
similarity index 100%
rename from documentation/sdk/create-aleo-app/images/deployment-success.png
rename to documentation/sdk/create-leo-app/images/deployment-success.png
diff --git a/documentation/sdk/create-aleo-app/images/execution-console.png b/documentation/sdk/create-leo-app/images/execution-console.png
similarity index 100%
rename from documentation/sdk/create-aleo-app/images/execution-console.png
rename to documentation/sdk/create-leo-app/images/execution-console.png
diff --git a/documentation/sdk/create-aleo-app/images/execution-success.png b/documentation/sdk/create-leo-app/images/execution-success.png
similarity index 100%
rename from documentation/sdk/create-aleo-app/images/execution-success.png
rename to documentation/sdk/create-leo-app/images/execution-success.png
diff --git a/documentation/sdk/create-aleo-app/images/get-transaction.png b/documentation/sdk/create-leo-app/images/get-transaction.png
similarity index 100%
rename from documentation/sdk/create-aleo-app/images/get-transaction.png
rename to documentation/sdk/create-leo-app/images/get-transaction.png
diff --git a/documentation/sdk/python/00_aleo_sdk.md b/documentation/sdk/python/00_aleo_sdk.md
index aab44318..4df83f59 100644
--- a/documentation/sdk/python/00_aleo_sdk.md
+++ b/documentation/sdk/python/00_aleo_sdk.md
@@ -1,11 +1,11 @@
---
-id: aleo-sdk
-title: Aleo SDK
-sidebar_label: Aleo SDK
+id: provable-sdk
+title: Provable SDK
+sidebar_label: Provable SDK
---
-[![github]](https://github.com/AleoHQ/python-sdk/tree/master/sdk)
+[![github]](https://github.com/provablehq/python-sdk/tree/master/sdk)
[github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
@@ -30,7 +30,7 @@ pip3 install aleo
```
-Alternatively, you can also install from a `.whl` file, either from the [GitHub repository](https://github.com/AleoHQ/python-sdk/tree/master/sdk/target/wheels), or by building it yourself. For the installation, use a command like this:
+Alternatively, you can also install from a `.whl` file, either from the [GitHub repository](https://github.com/provablehq/python-sdk/tree/master/sdk/target/wheels), or by building it yourself. For the installation, use a command like this:
```bash
@@ -49,7 +49,7 @@ print(private_key.to_string())
### Build Instructions
-To build it, first clone the [GitHub repository](https://github.com/AleoHQ/python-sdk/tree/master/sdk). Then, run the following command:
+To build it, first clone the [GitHub repository](https://github.com/provablehq/python-sdk/tree/master/sdk). Then, run the following command:
```bash
bash build.sh
```
diff --git a/documentation/sdk/python/01_zkml_transpiler.md b/documentation/sdk/python/01_zkml_transpiler.md
index 2906fcbf..229c25e6 100644
--- a/documentation/sdk/python/01_zkml_transpiler.md
+++ b/documentation/sdk/python/01_zkml_transpiler.md
@@ -5,7 +5,7 @@ sidebar_label: zkml Transpiler
---
-[![github]](https://github.com/AleoHQ/python-sdk/tree/master/zkml)
+[![github]](https://github.com/provablehq/python-sdk/tree/master/zkml)
[github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
@@ -53,14 +53,14 @@ pip3 install zkml
Note: On some systems, you may need to use `pip` instead of `pip3`.
-Alternatively, you can also install through the `.whl` file or in editable mode from the [GitHub repository](https://github.com/AleoHQ/python-sdk/tree/master/zkml).
+Alternatively, you can also install through the `.whl` file or in editable mode from the [GitHub repository](https://github.com/provablehq/python-sdk/tree/master/zkml).
### Usage
Below is a brief description of the classes and functions provided by the library. Detailed documentation is in progress and will be available soon.
-We encourage you to also check out the [examples on GitHub](https://github.com/AleoHQ/python-sdk/tree/master/zkml/examples).
+We encourage you to also check out the [examples on GitHub](https://github.com/provablehq/python-sdk/tree/master/zkml/examples).
* In a first step, you can receive an object of the class `zkml.LeoTranspiler(model, validation_data)`
@@ -80,6 +80,6 @@ We encourage you to also check out the [examples on GitHub](https://github.com/A
## Building Python Apps
-Please check out the [examples on GitHub](https://github.com/AleoHQ/python-sdk/tree/master/zkml/examples).
+Please check out the [examples on GitHub](https://github.com/provablehq/python-sdk/tree/master/zkml/examples).
Further documentation and tutorials as to how to use the `zkml` Python library will follow soon.
diff --git a/documentation/sdk/typescript/00_sdk_overview.md b/documentation/sdk/typescript/00_sdk_overview.md
index 718a4eaf..35faed4b 100644
--- a/documentation/sdk/typescript/00_sdk_overview.md
+++ b/documentation/sdk/typescript/00_sdk_overview.md
@@ -5,22 +5,22 @@ sidebar_label: Guide
---
-
+
## Tools for Building Zero Knowledge Web Apps
-The Aleo SDK is a collection of JavaScript libraries for building zero knowledge web applications in both the browser
+The Provable SDK is a collection of JavaScript libraries for building zero knowledge web applications in both the browser
and node.js.
## Overview
-Aleo provides the ability to run programs in zero knowledge. The Aleo SDK provides the tools to use these programs
+Aleo provides the ability to run programs in zero knowledge. The Provable SDK provides the tools to use these programs
within the browser and all other levels of the web stack to build privacy preserving applications.
-The Aleo SDK provides the following functionality (Click to see examples):
+The Provable SDK provides the following functionality (Click to see examples):
1. [Aleo account management](https://provable.tools/account)
2. [Web-based program execution and deployment](https://provable.tools/develop)
3. [Aleo credit transfers](https://provable.tools/transfer)
@@ -32,7 +32,7 @@ The Aleo SDK provides the following functionality (Click to see examples):
* [Installation](#Installation)
* [Usage](#Usage)
* [Zero Knowledge Web App Examples](#Zero-Knowledge-Web-App-Examples)
- * [Create Leo App](#create-aleo-app)
+ * [Create Leo App](#create-leo-app)
* [provable.tools](#provabletools)
* [Create An Aleo Account](#1-create-an-aleo-account)
* [Execute Aleo Programs](#2-execute-aleo-programs)
@@ -61,7 +61,7 @@ The Aleo SDK provides the following functionality (Click to see examples):
### NPM / Yarn
-To install Aleo SDK, run the following commands in your project's root:
+To install Provable SDK, run the following commands in your project's root:
`npm install @provablehq/sdk` or `yarn add @provablehq/sdk`.
@@ -97,7 +97,7 @@ Developers can get started immediately with create-react-app by running:
Additionally, the SDK powers [provable.tools](https://provable.tools) - a React app that provides a graphical interface for most
of the functionality provided by the SDK and can be used as a reference for usage of the SDK. Source code for provable.tools
-can be found [in the SDK repo here](https://github.com/AleoHQ/sdk/tree/testnet3/website)
+can be found [in the SDK repo here](https://github.com/provablehq/sdk/tree/testnet3/website)
## 1. Create an Aleo Account
@@ -120,7 +120,7 @@ Aleo credits or unique data defined by other zero-knowledge Aleo programs.
All of these keys can be created using the account object:
```typescript
-import { Account } from '@aleohq/sdk';
+import { Account } from '@provablehq/sdk';
const account = new Account();
@@ -179,7 +179,7 @@ The `ProgramManager` object encapsulates the functionality for executing program
them. Under the hood it uses cryptographic code compiled from [snarkVM](https://developer.aleo.org/aleo) into WebAssembly.
JavaScript bindings to this WebAssembly code allows execution of programs in zero knowledge fully within the browser
without requiring any external communication with the internet. Users interested in lower level details on how this is
-achieved can visit the [aleo-wasm](https://github.com/AleoHQ/sdk/tree/testnet3/wasm) crate.
+achieved can visit the [aleo-wasm](https://github.com/provablehq/sdk/tree/testnet3/wasm) crate.
The basic execution flow of a program is as follows:
1. A web app is loaded with an instance of the `ProgramManager` object
@@ -210,17 +210,17 @@ graph LR
### 2.3 WebAssembly Initialization
-βWebAssembly must be initialized before calling any SDK functions. The current Aleo SDK manages the wasm initialization. Therefore, the workers must be defined properly.
+βWebAssembly must be initialized before calling any SDK functions. The current Provable SDK manages the wasm initialization. Therefore, the workers must be defined properly.
Aleo programs are made zero knowledge through the usage of `ZkSnarks`. The Rust code behind Aleo programs and the ZkSnarks
-that make them zero knowledge are hosted in the [snarkVM Repository](https://github.com/AleoNet/snarkVM). The Aleo SDK
+that make them zero knowledge are hosted in the [snarkVM Repository](https://github.com/AleoNet/snarkVM). The Provable SDK
compiles this code to WebAssembly and creates JavaScript bindings, enabling Aleo programs to run directly in the browser.
Before any logic within the SDK is run within the browser however, the WebAssembly module the SDK contains must be
initialized before any SDK functions can be executed. This is done simply by calling the `initializeWasm` function at a
point in your code before any other SDK functions are called:
```typescript
-import { Account, initializeWasm } from '@aleohq/sdk';
+import { Account, initializeWasm } from '@provablehq/sdk';
// Assuming top-level await is enabled. This can also be initialized within a promise.
await initializeWasm();
@@ -234,7 +234,7 @@ An example of how to initialize WebAssembly in a React app is shown in [Section
### 2.4 Local Program Execution
A simple example of running the hello world program within the web browser is shown below:
```typescript
-import { Account, Program } from '@aleohq/sdk';
+import { Account, Program } from '@provablehq/sdk';
/// Create the source for the "hello world" program
const program = "program helloworld.aleo;\n\nfunction hello:\n input r0 as u32.public;\n input r1 as u32.private;\n add r0 r1 into r2;\n output r2 as u32.private;\n";
@@ -269,7 +269,7 @@ program execution. It also provides a global record of any state changes made to
A simple example of running the hello world program on the Aleo network is shown below:
```typescript
-import { Account, AleoNetworkClient, NetworkRecordProvider, ProgramManager, KeySearchParams} from '@aleohq/sdk';
+import { Account, AleoNetworkClient, NetworkRecordProvider, ProgramManager, KeySearchParams} from '@provablehq/sdk';
// Create a key provider that will be used to find public proving & verifying keys for Aleo programs
const keyProvider = new AleoKeyProvider();
@@ -280,13 +280,13 @@ const account = new Account({ privateKey: private_key });
const privateKeyObject = PrivateKey.from_string(private_key);
// Create a record provider that will be used to find records and transaction data for Aleo programs
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const recordProvider = new NetworkRecordProvider(account, networkClient);
// Initialize a program manager to talk to the Aleo network with the configured key and record providers
const programName = "hello_hello.aleo";
-const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider);
-programManager.setHost("https://api.explorer.aleo.org/v1")
+const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
+programManager.setHost("https://api.explorer.provable.com/v1")
programManager.setAccount(account);
// For example: "cacheKey": "hello_hello:hello"
@@ -334,7 +334,7 @@ Executing Aleo programs in zero knowledge requires two additional pieces of info
on Records can be found in the [Records](#41-private-state-data--records) section below.
For this reason, all programs will need proving and verifying keys to operate and many functions in Aleo programs will
-require records as inputs. To simplify the process of managing keys and records, the Aleo SDK provides two abstractions
+require records as inputs. To simplify the process of managing keys and records, the Provable SDK provides two abstractions
for managing these concepts:
1. **KeyProvider:** When programs execute, by default, they will synthesize the proving and verifying keys needed to
@@ -357,18 +357,18 @@ to the network (as long as it doesn't already currently exist) by paying a deplo
provides a simple interface for deploying programs to the Aleo network using the program manager.
```typescript
-import { Account, AleoNetworkClient, NetworkRecordProvider, ProgramManager, KeySearchParams} from '@aleohq/sdk';
+import { Account, AleoNetworkClient, NetworkRecordProvider, ProgramManager, KeySearchParams} from '@provablehq/sdk';
// Create a key provider that will be used to find public proving & verifying keys for Aleo programs
const keyProvider = new AleoKeyProvider();
keyProvider.useCache = true;
// Create a record provider that will be used to find records and transaction data for Aleo programs
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const recordProvider = new NetworkRecordProvider(account, networkClient);
// Initialize a program manager to talk to the Aleo network with the configured key and record providers
-const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider);
+const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
// Define an Aleo program to deploy
const program = "program hello_hello.aleo;\n\nfunction hello:\n input r0 as u32.public;\n input r1 as u32.private;\n add r0 r1 into r2;\n output r2 as u32.private;\n";
@@ -397,7 +397,7 @@ The WASM module can be initialized within the browser. A common way of achieving
`aleo-wasm-hook.js`
```jsx
import { useEffect, useState } from "react";
-import * as sdk from "@aleohq/sdk";
+import * as sdk from "@provablehq/sdk";
await sdk.initializeWasm();
export const useAleoWASM = () => {
@@ -436,7 +436,7 @@ import {
AleoKeyProvider,
AleoNetworkClient,
NetworkRecordProvider,
-} from "@aleohq/sdk";
+} from "@provablehq/sdk";
import { expose, proxy } from "comlink";
await initThreadPool();
@@ -467,7 +467,7 @@ async function deployProgram(program) {
keyProvider.useCache(true);
// Create a record provider that will be used to find records and transaction data for Aleo programs
- const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+ const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
// Use existing account with funds
const account = new Account({
@@ -478,7 +478,7 @@ async function deployProgram(program) {
// Initialize a program manager to talk to the Aleo network with the configured key and record providers
const programManager = new ProgramManager(
- "https://api.explorer.aleo.org/v1",
+ "https://api.explorer.provable.com/v1",
keyProvider,
recordProvider,
);
@@ -566,7 +566,7 @@ function App() {
try {
const result = await aleoWorker.deployProgram(helloworld_program);
console.log("Transaction:")
- console.log("https://api.explorer.aleo.org/v1/transaction?id=" + result)
+ console.log("https://api.explorer.provable.com/v1/transaction?id=" + result)
alert("Transaction ID: " + result);
} catch (e) {
console.log(e)
@@ -673,7 +673,7 @@ Make sure that you included custom types in your `tsconfig` file.
-A full example of this implementation can be found [here](https://github.com/AleoHQ/sdk/blob/testnet3/create-aleo-app/template-react-leo/src/App.jsx)
+A full example of this implementation can be found [here](https://github.com/provablehq/sdk/blob/testnet3/create-leo-app/template-react-leo/src/App.jsx)
## 3. Aleo Credit Transfers
@@ -799,13 +799,13 @@ import { Account, ProgramManager, AleoKeyProvider, NetworkRecordProvider, AleoNe
// Create a new NetworkClient, KeyProvider, and RecordProvider
const account = Account.from_string({privateKey: "user1PrivateKey"});
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const keyProvider = new AleoKeyProvider();
const recordProvider = new NetworkRecordProvider(account, networkClient);
// Initialize a program manager with the key provider to automatically fetch keys for executions
const USER_1_ADDRESS = "user1Address";
-const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider);
+const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
programManager.setAccount(account);
// Send a private transfer to yourself
@@ -840,7 +840,7 @@ assert(public_balance === 0);
As shown above, a public balance of any address can be checked with `getMappingValue` function of the `NetworkClient`.
```typescript
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const USER_1_ADDRESS = "user1Address";
const public_balance = networkClient.getMappingValue("credits.aleo", USER_1_ADDRESS);
```
@@ -933,13 +933,13 @@ import { Account, ProgramManager, AleoKeyProvider, NetworkRecordProvider, AleoNe
// Create a new NetworkClient, KeyProvider, and RecordProvider
const account = Account.from_string({privateKey: "user1PrivateKey"});
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const keyProvider = new AleoKeyProvider();
const recordProvider = new NetworkRecordProvider(account, networkClient);
// Initialize a program manager with the key provider to automatically fetch keys for executions
const USER_2_ADDRESS = "user2Address";
-const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider);
+const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
programManager.setAccount(account);
/// Send private transfer to user 2
@@ -954,12 +954,12 @@ import { Account, ProgramManager, AleoKeyProvider, NetworkRecordProvider, AleoNe
// Create a new NetworkClient, KeyProvider, and RecordProvider
const account = Account.from_string({privateKey: "user2PrivateKey"});
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const keyProvider = new AleoKeyProvider();
const recordProvider_User2 = new NetworkRecordProvider(account, networkClient);
// Initialize a program manager with the key provider to automatically fetch keys for executions
-const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider);
+const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
programManager.setAccount(account);
// Fetch the transaction from the network that user 1 sent
@@ -1123,7 +1123,7 @@ read the value of a specific key within a mapping.
```typescript
import { AleoNetworkClient } from '@provable/sdk';
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const creditsMappings = networkClient.getMappings("credits.aleo");
assert(creditsMappings === ["account"]);
@@ -1170,13 +1170,13 @@ import { Account, ProgramManager, AleoKeyProvider, NetworkRecordProvider, AleoNe
// Create a new NetworkClient, KeyProvider, and RecordProvider
const account = Account.from_string({privateKey: "user1PrivateKey"});
-const networkClient = new AleoNetworkClient("https://api.explorer.aleo.org/v1");
+const networkClient = new AleoNetworkClient("https://api.explorer.provable.com/v1");
const keyProvider = new AleoKeyProvider();
const recordProvider = new NetworkRecordProvider(account, networkClient);
// Initialize a program manager with the key provider to automatically fetch keys for executions
const RECIPIENT_ADDRESS = "user1Address";
-const programManager = new ProgramManager("https://api.explorer.aleo.org/v1", keyProvider, recordProvider);
+const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
programManager.setAccount(account);
// Update or initialize a public balance
diff --git a/documentation/sdk/typescript/02_aleo_network_client.md b/documentation/sdk/typescript/02_aleo_network_client.md
index 1bb813cc..eec21919 100644
--- a/documentation/sdk/typescript/02_aleo_network_client.md
+++ b/documentation/sdk/typescript/02_aleo_network_client.md
@@ -48,7 +48,7 @@ The methods provided in this class provide information on the Aleo Blockchain
@@ -62,7 +62,7 @@ let public_connection = new AleoNetworkClient("https://api.explorer.aleo.org/v1"
**Example**
```js
// New connection to a public beacon node
-let public_connection = AleoNetworkClient.setHost("https://api.explorer.aleo.org/v1");
+let public_connection = AleoNetworkClient.setHost("https://api.explorer.provable.com/v1");
```
diff --git a/documentation/sdk/typescript/03_development_client.md b/documentation/sdk/typescript/03_development_client.md
index fd52d2a8..57cd14e3 100644
--- a/documentation/sdk/typescript/03_development_client.md
+++ b/documentation/sdk/typescript/03_development_client.md
@@ -31,7 +31,7 @@ sidebar_label: Development Client
It requires an Aleo Development Server to be running remotely or locally.
If one is not running, this function will throw an error.
Information on how to run an Aleo Development Server can be found here:
-https://github.com/AleoHQ/sdk/rust/develop/README.md
+https://github.com/provablehq/sdk/rust/develop/README.md
**Kind**: instance method of [DevelopmentClient
](#DevelopmentClient)
**Returns**: string
\| Error
- The transaction_id of the deployment transaction if successful
@@ -57,7 +57,7 @@ const transaction_id = await client.deployProgram(Program, 6000000, privateKeySt
It requires an Aleo Development Server to be running remotely or locally.
If one is not running, this function will throw an error.
Information on how to run an Aleo Development Server can be found here:
-https://github.com/AleoHQ/sdk/rust/develop/README.md
+https://github.com/provablehq/sdk/rust/develop/README.md
**Kind**: instance method of [DevelopmentClient
](#DevelopmentClient)
**Returns**: string
\| Error
- The transaction_id of the execution transaction if successful
@@ -86,7 +86,7 @@ via an Aleo development server. It requires an Aleo Development Server
to be running remotely or locally. If one is not running, this function
will throw an error.
Information on how to run an Aleo Development Server can be found here:
-https://github.com/AleoHQ/sdk/rust/develop/README.md
+https://github.com/provablehq/sdk/rust/develop/README.md
**Kind**: instance method of [DevelopmentClient
](#DevelopmentClient)
**Returns**: string
\| Error
- The transaction_id of the execution transaction if successful
diff --git a/documentation/sdk/wasm/00_wasm_installation.md b/documentation/sdk/wasm/00_wasm_installation.md
index d0f081f4..f70b3e3b 100644
--- a/documentation/sdk/wasm/00_wasm_installation.md
+++ b/documentation/sdk/wasm/00_wasm_installation.md
@@ -5,18 +5,18 @@ sidebar_label: Installation
---
-
-
+
+
-[![github]](https://github.com/AleoHQ/sdk) [![crates-io]](https://crates.io/crates/aleo-wasm) [![docs-rs]](https://docs.rs/aleo-wasm/latest/aleo-wasm/)
+[![github]](https://github.com/provablehq/sdk) [![crates-io]](https://crates.io/crates/aleo-wasm) [![docs-rs]](https://docs.rs/aleo-wasm/latest/aleo-wasm/)
[github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
[crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
[docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs
-[**@aleohq/wasm**](https://www.npmjs.com/package/@aleohq/wasm)
+[**@provablehq/wasm**](https://www.npmjs.com/package/@provablehq/wasm)
Aleo JavaScript and WebAssembly bindings for building zero-knowledge web applications.
@@ -143,4 +143,4 @@ wasm-pack test --[firefox/chrome/safari]
Further documentation and tutorials as to how to use the modules built from this crate to build web apps will be built
in the future. However - in the meantime, the [provable.tools](https://provable.tools) website is a good
example of how to use these modules to build a web app. Its source code can be found in the
-[Aleo SDK](https://github.com/AleoHQ/sdk) repo in the `website` folder.
+[Provable SDK](https://github.com/provablehq/sdk) repo in the `website` folder.
diff --git a/documentation/testnet/getting_started/00_overview.md b/documentation/testnet/getting_started/00_overview.md
index e1c9f868..e77c06cb 100644
--- a/documentation/testnet/getting_started/00_overview.md
+++ b/documentation/testnet/getting_started/00_overview.md
@@ -24,16 +24,16 @@ enables developers to checkpoint and finalize application state in a publicly-ve
## Query The Network
-The Aleo Testnet3 API is organized around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer).
+The Aleo Testnet API is organized around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer).
To connect to the network, make a request to an Aleo Testnet III bootnode.
| URL |
|------------------|
-| [https://api.explorer.aleo.org/v1/testnet3](https://api.explorer.aleo.org/v1/testnet3/) |
+| [https://api.explorer.provable.com/v1/testnet](https://api.explorer.provable.com/v1/testnet/) |
-For example, you can [retrieve the current block height](https://api.explorer.aleo.org/v1/testnet3/latest/height).
+For example, you can [retrieve the current block height](https://api.explorer.provable.com/v1/testnet/latest/height).
With a local instance of `snarkos`, you can launch a client node with:
@@ -44,7 +44,7 @@ snarkos start --client --nodisplay
By default, this will make the node API available at `0.0.0.0:3033`:
```
-http://0.0.0.0:3033/testnet3/latest/height
+http://0.0.0.0:3033/testnet/latest/height
```
Now, refer to the [API reference](#api) for a list of available endpoints.
@@ -55,10 +55,10 @@ Now, refer to the [API reference](#api) for a list of available endpoints.
If you have Docker installed you can quickly launch a client within a docker container:
```
-docker run -it --name snarkos --hostname snarkosc -p 4133:4133 -p 3033:3033 --mount type=bind,source="$(pwd)",target=/aleo/data aleohq/snarkos:latest /aleo/bin/snarkos start --client --nodisplay
+docker run -it --name snarkos --hostname snarkosc -p 4133:4133 -p 3033:3033 --mount type=bind,source="$(pwd)",target=/aleo/data provablehq/snarkos:latest /aleo/bin/snarkos start --client --nodisplay
```
-This initializes a container called `snarkos` and maps the container port `3033` to `3033` on your system. Once the client is initialized, you can access the API as usual (`http://0.0.0.0:3033/testnet3/latest/height`).
+This initializes a container called `snarkos` and maps the container port `3033` to `3033` on your system. Once the client is initialized, you can access the API as usual (`http://0.0.0.0:3033/testnet/latest/height`).
You can close the container with `ctrl` + `c` and restart it with:
diff --git a/documentation/testnet/getting_started/02_deploy_and_execute.md b/documentation/testnet/getting_started/02_deploy_and_execute.md
index a57441c6..0c6fa61b 100644
--- a/documentation/testnet/getting_started/02_deploy_and_execute.md
+++ b/documentation/testnet/getting_started/02_deploy_and_execute.md
@@ -13,7 +13,7 @@ These changes support the first iteration of deploying and executing programs on
Deployment and execution of programs is done via four new `developer` CLI commands in `snarkOS` - `decrypt`, `deploy`, `execute`, `scan`, and `transfer`.
-These CLI commands currently live in snarkOS, but can also be migrated to the Aleo SDK.
+These CLI commands currently live in snarkOS, but can also be migrated to the Provable SDK.
*Note: All the operations are done client-side and do not require sending private keys or view keys to third parties.*
@@ -24,7 +24,7 @@ These CLI commands currently live in snarkOS, but can also be migrated to the Al
```
git clone https://github.com/AleoNet/snarkOS.git
cd snarkOS
-git checkout testnet3
+git checkout mainnet-staging
cargo install --path .
```
@@ -49,13 +49,13 @@ Transfer credits to another account so it can't be spent by the beacon producing
(The beacon is constantly spending records to generate new blocks, so there is a chance your record is spent before doing this step)
```
-snarkos developer execute credits.aleo transfer "u64" --private-key --query "http://localhost:3030" --broadcast "http://localhost:3030/testnet3/transaction/broadcast"
+snarkos developer execute credits.aleo transfer "u64" --private-key --query "http://localhost:3030" --broadcast "http://localhost:3030/testnet/transaction/broadcast"
```
or
```
-snarkos developer transfer --input-record --recipient --private-key --query "" --broadcast ""
+snarkos developer transfer --input-record --recipient --private-key --query "" --broadcast ""
```
This step can be replaced with a faucet.
@@ -66,14 +66,14 @@ Deploy a program with an unspent record.
```
-snarkos developer deploy fibonacci.aleo --private-key --query "http://localhost:3030" --path "../leo/examples/fibonacci/build/" --broadcast "http://localhost:3030/testnet3/transaction/broadcast" --fee 600000 --record
+snarkos developer deploy fibonacci.aleo --private-key --query "http://localhost:3030" --path "../leo/examples/fibonacci/build/" --broadcast "http://localhost:3030/testnet/transaction/broadcast" --fee 600000 --record
```
### 6. Execute a function of a deployed program
```
-snarkos developer execute fibonacci.aleo fibonacci "1u8" --private-key --query "http://localhost:3030" --broadcast "http://localhost:3030/testnet3/transaction/broadcast"
+snarkos developer execute fibonacci.aleo fibonacci "1u8" --private-key --query "http://localhost:3030" --broadcast "http://localhost:3030/testnet/transaction/broadcast"
```
*NOTE: Fees (in microcredits) must be greater than the transaction size in bytes. Fees can be excluded from execution transactions, but if one is specified, it must follow the above rule. *
@@ -122,7 +122,7 @@ Create an Aleo program deployment.
##### Example:
```
-snarkos developer deploy fibonacci.aleo --private-key --query "http://localhost:3030" --path "./leo/examples/fibonacci/build/" --broadcast "http://localhost:3030/testnet3/transaction/broadcast" --fee 550000 --record
+snarkos developer deploy fibonacci.aleo --private-key --query "http://localhost:3030" --path "./leo/examples/fibonacci/build/" --broadcast "http://localhost:3030/testnet/transaction/broadcast" --fee 550000 --record
```
### Execute
@@ -152,7 +152,7 @@ Create an Aleo program execution.
##### Example:
```
-snarkos developer execute fibonacci.aleo fibonacci "1u8" --private-key --query "http://localhost:3030" --broadcast "http://localhost:3030/testnet3/transaction/broadcast"
+snarkos developer execute fibonacci.aleo fibonacci "1u8" --private-key --query "http://localhost:3030" --broadcast "http://localhost:3030/testnet/transaction/broadcast"
```
### Scan
@@ -203,18 +203,18 @@ Transfer credits with a `credits.aleo` program execution.
##### Example:
```
-snarkos developer transfer --input-record --recipient --private-key --query "" --broadcast ""
+snarkos developer transfer --input-record --recipient --private-key --query "" --broadcast ""
```
-## Usage on Testnet 3 (Phase 2)
+## Usage on Testnet
-To deploy and execute programs on Testnet3
+To deploy and execute programs on Testnet
1. Replace [step 3](#3-scan-the-node-for-spendable-records) with the Aleo faucet to obtain spendable credits. You can request credits from [the faucet](https://faucet.aleo.org/)
-2. Replace the use of `http://localhost:3030` with `https://api.explorer.aleo.org/v1`
+2. Replace the use of `http://localhost:3030` with `https://api.explorer.provable.com/v1`
diff --git a/documentation/testnet/getting_started/03_deploy_and_execute_demo.md b/documentation/testnet/getting_started/03_deploy_and_execute_demo.md
index 402af093..9bf7906e 100644
--- a/documentation/testnet/getting_started/03_deploy_and_execute_demo.md
+++ b/documentation/testnet/getting_started/03_deploy_and_execute_demo.md
@@ -26,7 +26,7 @@ Make sure you have both Leo and snarkOS installed on your machine.
**Note**:
-* You can find instructions to install Leo on your machine [here](https://github.com/AleoHQ/leo) and snarkOS [here](https://github.com/AleoNet/snarkOS)
+* You can find instructions to install Leo on your machine [here](https://github.com/provablehq/leo) and snarkOS [here](https://github.com/AleoNet/snarkOS)
* Make sure to pull the latest versions of `snarkos` and `leo` from GitHub to your local machine
### 2. Generate your test keys and wallet address
@@ -139,7 +139,7 @@ RECORD=""
* Deploy your Leo application (if all your variables were assigned correctly, you should be able to copy/paste the following
```
-snarkos developer deploy "${APPNAME}.aleo" --private-key "${PRIVATEKEY}" --query "https://api.explorer.aleo.org/v1" --path "./${APPNAME}/build/" --broadcast "https://api.explorer.aleo.org/v1/testnet3/transaction/broadcast" --fee 1000000 --record "${RECORD}"
+snarkos developer deploy "${APPNAME}.aleo" --private-key "${PRIVATEKEY}" --query "https://api.explorer.provable.com/v1" --path "./${APPNAME}/build/" --broadcast "https://api.explorer.provable.com/v1/testnet/transaction/broadcast" --fee 1000000 --record "${RECORD}"
```
You should have seen a confirmation that your Aleo application was deployed in the form of a transaction ID that looks like the following `at1rkkpqu5k4rt86zzccczw6cxeyvrl7hxydvvv7dhl7zr7p9w40c8s70kwm8`. Make sure to copy this string as you'll need it for the last step.
@@ -149,8 +149,8 @@ You should have seen a confirmation that your Aleo application was deployed in t
Finally, it is time to execute the application you just deployed!
-* You'll need to update the `--record` flag with the latest transaction linked to your wallet balance. In this case, you can obtain that by going to the following URL: https://api.explorer.aleo.org/v1/testnet3/transaction/$DEPLOY_TX_ID but replace $DEPLOY_TX_ID with the transaction ID provided to you once your application was deployed (or from the most recent transaction linked to your wallet address). An example URL looks like so: https://api.explorer.aleo.org/v1/testnet3/transaction/at1rkkpqu5k4rt86zzccczw6cxeyvrl7hxydvvv7dhl7zr7p9w40c8s70kwm8
-* In the JSON object provided at https://api.explorer.aleo.org/v1/testnet3/transaction/$DEPLOY_TX_ID, navigate to: `object.fee.transition.outputs[0].value` and copy the record ciphertext value.
+* You'll need to update the `--record` flag with the latest transaction linked to your wallet balance. In this case, you can obtain that by going to the following URL: https://api.explorer.provable.com/v1/testnet/transaction/$DEPLOY_TX_ID but replace $DEPLOY_TX_ID with the transaction ID provided to you once your application was deployed (or from the most recent transaction linked to your wallet address). An example URL looks like so: https://api.explorer.provable.com/v1/testnet/transaction/at1rkkpqu5k4rt86zzccczw6cxeyvrl7hxydvvv7dhl7zr7p9w40c8s70kwm8
+* In the JSON object provided at https://api.explorer.provable.com/v1/testnet/transaction/$DEPLOY_TX_ID, navigate to: `object.fee.transition.outputs[0].value` and copy the record ciphertext value.
* Head to [provable.tools](https://provable.tools/) and navigate to the **Record** tab and paste the record ciphertext you just copied as well as your wallet's view key
* Similar to the steps we followed for a deploy transaction, update your `RECORD` variable with the record plaintext you just decrypted by doing the following:
@@ -165,7 +165,7 @@ RECORD=""
Then just paste the following command in your terminal
```
-snarkos developer execute "${APPNAME}.aleo" "main" "1u32" "2u32" --private-key "${PRIVATEKEY}" --query "https://api.explorer.aleo.org/v1" --broadcast "https://api.explorer.aleo.org/v1/testnet3/transaction/broadcast" --fee 1000000 --record "${RECORD}"
+snarkos developer execute "${APPNAME}.aleo" "main" "1u32" "2u32" --private-key "${PRIVATEKEY}" --query "https://api.explorer.provable.com/v1" --broadcast "https://api.explorer.provable.com/v1/testnet/transaction/broadcast" --fee 1000000 --record "${RECORD}"
```
Awesome! You have successfully deployed and executed a Leo application to Testnet III, how exciting π
diff --git a/documentation/testnet/getting_started/04_developer_toolkit.md b/documentation/testnet/getting_started/04_developer_toolkit.md
index 7de80ca7..0a695299 100644
--- a/documentation/testnet/getting_started/04_developer_toolkit.md
+++ b/documentation/testnet/getting_started/04_developer_toolkit.md
@@ -8,7 +8,7 @@ This toolkit works best with a MacOS machine from 2021 or newer. You can check y
## Leo
### Download and install Leo
-- You can find the latest version of Leo [here](https://github.com/AleoHQ/leo/releases/latest).
+- You can find the latest version of Leo [here](https://github.com/provablehq/leo/releases/latest).
- After downloading the version that works for your machine, double-click the zip file to open it.
- Then install Leo by moving it to `/usr/local/bin` on your machine, which you can do by dragging it to that location or via terminal (`sudo mv leo /usr/local/bin`); in both cases, you will need to enter your computer password.
@@ -45,7 +45,7 @@ Open a new terminal window and type `leo --help` to confirm that Leo is installe
-V, --version Print version
```
-###### π‘Note: If you do not see the output above, you can build Leo from source by following the guide [here](https://github.com/AleoHQ/leo#%EF%B8%8F%EF%B8%8F-build-guide) or download the [latest `.zip`](https://github.com/AleoHQ/leo/releases/latest) file directly and then move the Leo binary to any location; we recommend `/usr/local/bin`.
+###### π‘Note: If you do not see the output above, you can build Leo from source by following the guide [here](https://github.com/provablehq/leo#%EF%B8%8F%EF%B8%8F-build-guide) or download the [latest `.zip`](https://github.com/provablehq/leo/releases/latest) file directly and then move the Leo binary to any location; we recommend `/usr/local/bin`.
### The `leo account` command
diff --git a/documentation/testnet/public_endpoints/00_latest_height.md b/documentation/testnet/public_endpoints/00_latest_height.md
index 146155b1..cfec8fba 100644
--- a/documentation/testnet/public_endpoints/00_latest_height.md
+++ b/documentation/testnet/public_endpoints/00_latest_height.md
@@ -5,7 +5,7 @@ sidebar_label: Latest Height
---
```bash title=ENDPOINT
-GET /testnet3/latest/height
+GET /testnet/latest/height
```
Returns the latest block height.
diff --git a/documentation/testnet/public_endpoints/01_latest_hash.md b/documentation/testnet/public_endpoints/01_latest_hash.md
index f4b15737..8b5ae81c 100644
--- a/documentation/testnet/public_endpoints/01_latest_hash.md
+++ b/documentation/testnet/public_endpoints/01_latest_hash.md
@@ -5,7 +5,7 @@ sidebar_label: Latest Hash
---
```bash title=ENDPOINT
-GET /testnet3/latest/hash
+GET /testnet/latest/hash
```
Returns the latest block hash.
diff --git a/documentation/testnet/public_endpoints/02_latest_block.md b/documentation/testnet/public_endpoints/02_latest_block.md
index f654ff4b..33d2b7d6 100644
--- a/documentation/testnet/public_endpoints/02_latest_block.md
+++ b/documentation/testnet/public_endpoints/02_latest_block.md
@@ -5,7 +5,7 @@ sidebar_label: Latest Block
---
```bash title=ENDPOINT
-GET /testnet3/latest/block
+GET /testnet/latest/block
```
Returns the latest block.
diff --git a/documentation/testnet/public_endpoints/03_latest_state_root.md b/documentation/testnet/public_endpoints/03_latest_state_root.md
index 7d865437..ca713541 100644
--- a/documentation/testnet/public_endpoints/03_latest_state_root.md
+++ b/documentation/testnet/public_endpoints/03_latest_state_root.md
@@ -5,7 +5,7 @@ sidebar_label: Latest State Root
---
```bash title=ENDPOINT
-GET /testnet3/latest/stateRoot
+GET /testnet/latest/stateRoot
```
Returns the latest state root.
diff --git a/documentation/testnet/public_endpoints/04_get_block.md b/documentation/testnet/public_endpoints/04_get_block.md
index 8696cfe2..f8554495 100644
--- a/documentation/testnet/public_endpoints/04_get_block.md
+++ b/documentation/testnet/public_endpoints/04_get_block.md
@@ -5,7 +5,7 @@ sidebar_label: Get Block
---
```bash title=ENDPOINT
-GET /testnet3/block/{height_or_hash}
+GET /testnet/block/{height_or_hash}
```
Returns the block for the given block height or block hash.
diff --git a/documentation/testnet/public_endpoints/05_get_blocks.md b/documentation/testnet/public_endpoints/05_get_blocks.md
index c42a8ee8..e3659af4 100644
--- a/documentation/testnet/public_endpoints/05_get_blocks.md
+++ b/documentation/testnet/public_endpoints/05_get_blocks.md
@@ -5,7 +5,7 @@ sidebar_label: Get Blocks
---
```javascript title=ENDPOINT
-GET /testnet3/blocks?start={start_height}&end={end_height}
+GET /testnet/blocks?start={start_height}&end={end_height}
```
Returns the blocks for the given block range.
diff --git a/documentation/testnet/public_endpoints/06_get_height.md b/documentation/testnet/public_endpoints/06_get_height.md
index c68d6fa6..546ba742 100644
--- a/documentation/testnet/public_endpoints/06_get_height.md
+++ b/documentation/testnet/public_endpoints/06_get_height.md
@@ -5,7 +5,7 @@ sidebar_label: Get Height
---
```bash title=ENDPOINT
-GET /testnet3/height/{blockHash}
+GET /testnet/height/{blockHash}
```
Returns the height for the given block hash.
diff --git a/documentation/testnet/public_endpoints/07_get_block_transactions.md b/documentation/testnet/public_endpoints/07_get_block_transactions.md
index 52cbe992..cc403f60 100644
--- a/documentation/testnet/public_endpoints/07_get_block_transactions.md
+++ b/documentation/testnet/public_endpoints/07_get_block_transactions.md
@@ -5,7 +5,7 @@ sidebar_label: Get Block Transactions
---
```bash title=ENDPOINT
-GET /testnet3/block/{height}/transactions
+GET /testnet/block/{height}/transactions
```
Returns the transactions for the given block height.
diff --git a/documentation/testnet/public_endpoints/08_get_transaction.md b/documentation/testnet/public_endpoints/08_get_transaction.md
index e92c17ad..afcab721 100644
--- a/documentation/testnet/public_endpoints/08_get_transaction.md
+++ b/documentation/testnet/public_endpoints/08_get_transaction.md
@@ -5,7 +5,7 @@ sidebar_label: Get Transaction
---
```bash title=ENDPOINT
-GET /testnet3/transaction/{transactionID}
+GET /testnet/transaction/{transactionID}
```
Returns the transaction for the given transaction ID.
diff --git a/documentation/testnet/public_endpoints/09_get_memory_pool_transactions.md b/documentation/testnet/public_endpoints/09_get_memory_pool_transactions.md
index 6619d770..439c7436 100644
--- a/documentation/testnet/public_endpoints/09_get_memory_pool_transactions.md
+++ b/documentation/testnet/public_endpoints/09_get_memory_pool_transactions.md
@@ -5,7 +5,7 @@ sidebar_label: Get Memory Pool Transactions
---
```bash title=ENDPOINT
-GET /testnet3/memoryPool/transactions
+GET /testnet/memoryPool/transactions
```
Returns the transactions in the memory pool.
diff --git a/documentation/testnet/public_endpoints/10_get_program.md b/documentation/testnet/public_endpoints/10_get_program.md
index 2e7500f4..a455a2b3 100644
--- a/documentation/testnet/public_endpoints/10_get_program.md
+++ b/documentation/testnet/public_endpoints/10_get_program.md
@@ -5,7 +5,7 @@ sidebar_label: Get Program
---
```bash title=ENDPOINT
-GET /testnet3/program/{programID}
+GET /testnet/program/{programID}
```
Returns the program for the given program ID.
diff --git a/documentation/testnet/public_endpoints/11_get_mapping_names.md b/documentation/testnet/public_endpoints/11_get_mapping_names.md
index 4eb27cbd..d4d44d7c 100644
--- a/documentation/testnet/public_endpoints/11_get_mapping_names.md
+++ b/documentation/testnet/public_endpoints/11_get_mapping_names.md
@@ -5,7 +5,7 @@ sidebar_label: Get Mapping Names
---
```bash title=ENDPOINT
-GET /testnet3/program/{programID}/mappings
+GET /testnet/program/{programID}/mappings
```
Returns the names of the mappings in a program for the given program ID.
diff --git a/documentation/testnet/public_endpoints/12_get_mapping_value.md b/documentation/testnet/public_endpoints/12_get_mapping_value.md
index 7501af72..7d038044 100644
--- a/documentation/testnet/public_endpoints/12_get_mapping_value.md
+++ b/documentation/testnet/public_endpoints/12_get_mapping_value.md
@@ -5,7 +5,7 @@ sidebar_label: Get Mapping Value
---
```bash title=ENDPOINT
-GET /testnet3/program/{programID}/mapping/{mappingName}/{mappingKey}
+GET /testnet/program/{programID}/mapping/{mappingName}/{mappingKey}
```
Returns the value in a key-value mapping corresponding to the supplied mappingKey.
diff --git a/documentation/testnet/public_endpoints/13_get_state_path_for_commitment.md b/documentation/testnet/public_endpoints/13_get_state_path_for_commitment.md
index 4c4ac9b8..a69f237e 100644
--- a/documentation/testnet/public_endpoints/13_get_state_path_for_commitment.md
+++ b/documentation/testnet/public_endpoints/13_get_state_path_for_commitment.md
@@ -5,7 +5,7 @@ sidebar_label: Get State Path For Commitment
---
```bash title=ENDPOINT
-GET /testnet3/statePath/{commitment}
+GET /testnet/statePath/{commitment}
```
Returns the state path for the given commitment.
diff --git a/documentation/testnet/public_endpoints/14_get_beacons.md b/documentation/testnet/public_endpoints/14_get_beacons.md
index dc9cfdc6..dc45cc91 100644
--- a/documentation/testnet/public_endpoints/14_get_beacons.md
+++ b/documentation/testnet/public_endpoints/14_get_beacons.md
@@ -5,7 +5,7 @@ sidebar_label: Get Beacons
---
```bash title=ENDPOINT
-GET /testnet3/beacons
+GET /testnet/beacons
```
Returns the list of current beacon node addresses.
diff --git a/documentation/testnet/public_endpoints/15_get_peers_count.md b/documentation/testnet/public_endpoints/15_get_peers_count.md
index ff4bdc91..83c31cdf 100644
--- a/documentation/testnet/public_endpoints/15_get_peers_count.md
+++ b/documentation/testnet/public_endpoints/15_get_peers_count.md
@@ -5,7 +5,7 @@ sidebar_label: Get Peers Count
---
```bash title=ENDPOINT
-GET /testnet3/peers/count
+GET /testnet/peers/count
```
Returns the number of peers connected to the node.
diff --git a/documentation/testnet/public_endpoints/16_get_peers_all.md b/documentation/testnet/public_endpoints/16_get_peers_all.md
index ad0a5ec1..8f704696 100644
--- a/documentation/testnet/public_endpoints/16_get_peers_all.md
+++ b/documentation/testnet/public_endpoints/16_get_peers_all.md
@@ -5,7 +5,7 @@ sidebar_label: Get Peers All
---
```bash title=ENDPOINT
-GET /testnet3/peers/all
+GET /testnet/peers/all
```
Returns the peers connected to the node.
diff --git a/documentation/testnet/public_endpoints/17_get_peers_all_metrics.md b/documentation/testnet/public_endpoints/17_get_peers_all_metrics.md
index 79b47aa1..7afa913c 100644
--- a/documentation/testnet/public_endpoints/17_get_peers_all_metrics.md
+++ b/documentation/testnet/public_endpoints/17_get_peers_all_metrics.md
@@ -5,7 +5,7 @@ sidebar_label: Get Peers All Metrics
---
```bash title=ENDPOINT
-GET /testnet3/peers/all/metrics
+GET /testnet/peers/all/metrics
```
Returns the peers and their types connected to the node.
diff --git a/documentation/testnet/public_endpoints/18_get_node_address.md b/documentation/testnet/public_endpoints/18_get_node_address.md
index 9877a7d3..bfc74379 100644
--- a/documentation/testnet/public_endpoints/18_get_node_address.md
+++ b/documentation/testnet/public_endpoints/18_get_node_address.md
@@ -5,7 +5,7 @@ sidebar_label: Get Node Address
---
```bash title=ENDPOINT
-GET /testnet3/node/address
+GET /testnet/node/address
```
Returns the address of the node.
diff --git a/documentation/testnet/public_endpoints/19_find_block_hash.md b/documentation/testnet/public_endpoints/19_find_block_hash.md
index 02a8a150..147c8c51 100644
--- a/documentation/testnet/public_endpoints/19_find_block_hash.md
+++ b/documentation/testnet/public_endpoints/19_find_block_hash.md
@@ -5,7 +5,7 @@ sidebar_label: Find Block Hash
---
```bash title=ENDPOINT
-GET /testnet3/find/blockHash/{transactionID}
+GET /testnet/find/blockHash/{transactionID}
```
Returns the block hash of the block containing the given transaction ID.
diff --git a/documentation/testnet/public_endpoints/20_find_transaction_id_from_program_id.md b/documentation/testnet/public_endpoints/20_find_transaction_id_from_program_id.md
index 821aa24c..0dbed16b 100644
--- a/documentation/testnet/public_endpoints/20_find_transaction_id_from_program_id.md
+++ b/documentation/testnet/public_endpoints/20_find_transaction_id_from_program_id.md
@@ -5,7 +5,7 @@ sidebar_label: Find Transaction ID from Program ID
---
```bash title=ENDPOINT
-GET /testnet3/find/transactionID/deployment/{programID}
+GET /testnet/find/transactionID/deployment/{programID}
```
Returns the transaction ID of the transaction containing the given program ID.
diff --git a/documentation/testnet/public_endpoints/21_find_transaction_id_from_transition_id.md b/documentation/testnet/public_endpoints/21_find_transaction_id_from_transition_id.md
index 8699cb8c..530516ba 100644
--- a/documentation/testnet/public_endpoints/21_find_transaction_id_from_transition_id.md
+++ b/documentation/testnet/public_endpoints/21_find_transaction_id_from_transition_id.md
@@ -5,7 +5,7 @@ sidebar_label: Find Transaction ID from Transition ID
---
```bash title=ENDPOINT
-GET /testnet3/find/transactionID/{transitionID}
+GET /testnet/find/transactionID/{transitionID}
```
Returns the transaction ID of the transaction containing the given transition ID.
diff --git a/documentation/testnet/public_endpoints/22_find_transition_id.md b/documentation/testnet/public_endpoints/22_find_transition_id.md
index ed72c225..b49870b8 100644
--- a/documentation/testnet/public_endpoints/22_find_transition_id.md
+++ b/documentation/testnet/public_endpoints/22_find_transition_id.md
@@ -5,7 +5,7 @@ sidebar_label: Find Transition ID
---
```bash title=ENDPOINT
-GET /testnet3/find/transitionID/{inputOrOutputID}
+GET /testnet/find/transitionID/{inputOrOutputID}
```
Returns the transition ID of the transition corresponding to the ID of the input or output.
diff --git a/documentation/testnet/public_endpoints/23_get_env_info.md b/documentation/testnet/public_endpoints/23_get_env_info.md
index b75c4e37..12483b02 100644
--- a/documentation/testnet/public_endpoints/23_get_env_info.md
+++ b/documentation/testnet/public_endpoints/23_get_env_info.md
@@ -5,7 +5,7 @@ sidebar_label: Get Environment Info
---
```bash title=ENDPOINT
-GET /testnet3/node/env
+GET /testnet/node/env
```
Returns the environment info of the node.
diff --git a/documentation/testnet/public_endpoints/24_transaction_broadcast.md b/documentation/testnet/public_endpoints/24_transaction_broadcast.md
index c6c42acc..9432285d 100644
--- a/documentation/testnet/public_endpoints/24_transaction_broadcast.md
+++ b/documentation/testnet/public_endpoints/24_transaction_broadcast.md
@@ -5,7 +5,7 @@ sidebar_label: Transaction Broadcast
---
```bash title=ENDPOINT
-POST /testnet3/transaction/broadcast
+POST /testnet/transaction/broadcast
```
Broadcasts the transaction to the ledger.