Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds relevant info + reorgs toliman page #131

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 14 additions & 19 deletions docs/toliman.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
title: Toliman Testnet
description: How to use the Toliman testnet
keywords:
Expand Down Expand Up @@ -35,26 +35,21 @@ We have RPC nodes you can connect to:

<RPCButton />

## Dev info

The local devnet setup funds a dev account for you by default, as well as setting up a Kettle for you to submit Confidential Compute Requests to when interacting with your contracts. Your local address and the Kettle created for your local devnet are listed below:

### Local dev account

The address is:

`0xBE69d72ca5f88aCba033a063dF5DBe43a4148De0`

The private key is:

`0x91ab9a7e53c220e6210460b65a7a3bb2ca181412a8a7b43ff336b3df1737ce12`
## Deloying SUAPPs on Toliman

### Local Kettle
We encourage you to follow the example set in [this tutorial](/tutorials/suappify-counter#using-the-typescript-sdk) and simply change the RPC url and the `kettleAdress` to the one listed above.

The address is:
We provide you a few convenient RPC endpoints you might need if, for instance, you need to fetch or submit transactiosn and/or data to Ethereum L1 or the Holesky testnet:

`0xB5fEAfbDD752ad52Afb7e1bD2E40432A485bBB7F`
```
http://holesky.toliman.suave-testnets.aws.internal:8545
http://mainnet.toliman.suave-testnets.aws.internal:8545\
```

The private key is:
If you would like to use these when testing locally, before deploying on Toliman, simply [run SUAVE](/tutorials/run-suave) with these additional flags:

`0x6c45335a22461ccdb978b78ab61b238bad2fae4544fb55c14eb096c875ccfc52`
```
--suave.eth.remote_endpoint http://holesky.toliman.suave-testnets.aws.internal:8545 \
--suave.service-alias holesky=http://holesky.toliman.suave-testnets.aws.internal:8545 \
--suave.service-alias mainnet=http://mainnet.toliman.suave-testnets.aws.internal:8545 \
```
4 changes: 2 additions & 2 deletions docs/tools/typescript-sdk.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
title: TypeScript SDK
description: An overview of the TypeScript SDK (suave-viem)
---
Expand Down Expand Up @@ -63,7 +63,7 @@ To interact with the SUAVE network, we'll need a wallet.

:::info

When running a local SUAVE devnet, [**there is an account which is set up with funds for you by default**](/toliman#dev-info).
When running a local SUAVE devnet, [**there is an account which is set up with funds for you by default**](/tutorials/run-suave#dev-info).

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/deploy-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ Take note of the address to which it has been deployed: you'll need it in the ne

:::info

You can find your [**pre-funded dev account and local kettle address here**](/toliman#dev-info).
You can find your [**pre-funded dev account and local kettle address here**](/tutorials/run-suave#dev-info).

:::
28 changes: 26 additions & 2 deletions docs/tutorials/run-suave.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
title: Run SUAVE Locally
description: Start running SUAVE and participating in the chain itself
keywords:
Expand Down Expand Up @@ -162,7 +162,31 @@ web3.eth.blockNumber

It should tell you the block height of your local network.

### What am I actually running?
## Dev info

The local devnet setup funds a dev account for you by default, as well as setting up a Kettle for you to submit Confidential Compute Requests to when interacting with your contracts. Your local address and the Kettle created for your local devnet are listed below:

### Local dev account

The address is:

`0xBE69d72ca5f88aCba033a063dF5DBe43a4148De0`

The private key is:

`0x91ab9a7e53c220e6210460b65a7a3bb2ca181412a8a7b43ff336b3df1737ce12`

### Local Kettle

The address is:

`0xB5fEAfbDD752ad52Afb7e1bD2E40432A485bBB7F`

The private key is:

`0x6c45335a22461ccdb978b78ab61b238bad2fae4544fb55c14eb096c875ccfc52`

## What am I actually running?

The main actor in the SUAVE protocol is called a "Kettle". Kettles house all components necessary to perform confidential compute.

Expand Down
Loading