diff --git a/docs/resources/index.mdx b/docs/resources/index.mdx index c86c64e3..9f612074 100644 --- a/docs/resources/index.mdx +++ b/docs/resources/index.mdx @@ -20,7 +20,7 @@ Here is an up-to-date list of software and repositories to help you build on [SU - [`suave-std` Solidity Libraries](/tutorials/suave-standard-library) - [Forge](/resources/forge) - [Golang SDK](/resources/golang-sdk) -- [`suave-viem` Typescript SDK](/resources/typescript-sdk) +- [`suave-viem` TypeScript SDK](/resources/TypeScript-sdk) **Docs, examples and code:** @@ -28,7 +28,7 @@ Here is an up-to-date list of software and repositories to help you build on [SU - [SUAVE Rigil Specs](/technical/specs/rigil) - [suave-geth](https://github.com/flashbots/suave-geth) -## Community +## Community Here is an up-to-date list of software built by the SUAVE community: diff --git a/docs/resources/typescript-sdk.mdx b/docs/resources/typescript-sdk.mdx index 2ae07849..5d683c6f 100644 --- a/docs/resources/typescript-sdk.mdx +++ b/docs/resources/typescript-sdk.mdx @@ -1,12 +1,12 @@ --- -title: Typescript SDK -description: An overview of the Typescript SDK (suave-viem) +title: TypeScript SDK +description: An overview of the TypeScript SDK (suave-viem) --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -:::info +:::info [SUAVE-Viem](https://github.com/flashbots/suave-viem) is a fork of [viem](https://github.com/wagmi-dev/viem) that will eventually be upstreamed but is currently still in a dynamic state. @@ -14,13 +14,13 @@ Sending Confidential Compute Requests works slightly differently, but most other ::: -This page describes how to work with the SUAVE-viem typescript SDK. The SDK simplifies interaction with the SUAVE Chain and provides easy-to-use functions to send transactions and query data. Below, you'll find steps on how to instantiate the library, symlink, and perform some basic actions. +This page describes how to work with the SUAVE-viem TypeScript SDK. The SDK simplifies interaction with the SUAVE Chain and provides easy-to-use functions to send transactions and query data. Below, you'll find steps on how to instantiate the library, symlink, and perform some basic actions. ## Installation The [`@flashbots/suave-viem`](https://www.npmjs.com/package/@flashbots/suave-viem) package is available on NPM, and can be installed with any NPM-based package manager, such as **npm**, **yarn**, or **bun**. -:::warning +:::warning Alpha Release Version @@ -230,7 +230,7 @@ const ccr: TransactionRequestSuave = { `confidentialInputs` is a field to store information that should be kept private during computation, and the data field is the typical calldata required to interact with a dapp. -If you prefer typescript, you can see how to craft your own CCRs in the [examples directory of suave-viem](https://github.com/flashbots/suave-viem/blob/main/examples/suave-web-demo/src/suave.ts). +If you prefer TypeScript, you can see how to craft your own CCRs in the [examples directory of suave-viem](https://github.com/flashbots/suave-viem/blob/main/examples/suave-web-demo/src/suave.ts). ::: diff --git a/docs/technical b/docs/technical index 95f36493..738a346d 160000 --- a/docs/technical +++ b/docs/technical @@ -1 +1 @@ -Subproject commit 95f36493ec344fda29976ea5a72b8d8c17bd7333 +Subproject commit 738a346d8f1a6ae58cadc13d22187be3f2b204f8 diff --git a/docs/tutorials/build-suapps.mdx b/docs/tutorials/build-suapps.mdx index e8e08051..f769d1ec 100644 --- a/docs/tutorials/build-suapps.mdx +++ b/docs/tutorials/build-suapps.mdx @@ -6,7 +6,7 @@ keywords: - build - suave - create - - typescript + - TypeScript - viem --- @@ -14,7 +14,7 @@ This tutorial will show you how to build a SUAPP using [`suave-viem`](https://ww :::info -There are two different templates you can use for your SUAPP. One with minimal, typescript-only dependencies; and one which uses Next. +There are two different templates you can use for your SUAPP. One with minimal, TypeScript-only dependencies; and one which uses Next. ::: @@ -108,12 +108,12 @@ bun dev This template uses the same MEV-Share example contract we worked with using the [Golang SDK in the previous tutorial](/tutorials/send-transactions). -> _If you're struggling with any of the above, you can also find this pure typescript template as a standalone repo [here](https://github.com/andytudhope/build-a-suapp-ts)._ +> _If you're struggling with any of the above, you can also find this pure TypeScript template as a standalone repo [here](https://github.com/andytudhope/build-a-suapp-ts)._ ## Next.js Example -This template comes with a more extensive frontend framework, which uses Next (in typescript) and therefore depends on React. You can get it running by first cloning the repo and installing its dependencies. +This template comes with a more extensive frontend framework, which uses Next (in TypeScript) and therefore depends on React. You can get it running by first cloning the repo and installing its dependencies. Make sure you have previously built and symlinked suave-viem for this to work: @@ -135,7 +135,7 @@ Deploy the compiled contracts from the root directory (you need to have [SUAVE r ```bash chmod +x packages/forge/deploy -yarn contracts:deploy +yarn contracts:deploy ``` You can start the frontend with: diff --git a/docs/tutorials/confidential-compute-requests.mdx b/docs/tutorials/confidential-compute-requests.mdx index 5f0559d0..e20d7667 100644 --- a/docs/tutorials/confidential-compute-requests.mdx +++ b/docs/tutorials/confidential-compute-requests.mdx @@ -10,7 +10,7 @@ keywords: :::info -There are a number of different ways to work with SUAVE and to craft Confidential Compute Requests (CCRs). We'll discuss how to use both the Typescript and Golang SDKs in this tutorial. +There are a number of different ways to work with SUAVE and to craft Confidential Compute Requests (CCRs). We'll discuss how to use both the TypeScript and Golang SDKs in this tutorial. ::: @@ -21,7 +21,7 @@ There are a number of different ways to work with SUAVE and to craft Confidentia