Skip to content

Commit

Permalink
Merge pull request #1006 from AyushBherwani1998/main
Browse files Browse the repository at this point in the history
Fix broken links for zkApps docs
  • Loading branch information
ymekuria authored Jun 20, 2024
2 parents 37cb4ed + dec3ef7 commit 385adc6
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/zkapps/tutorials/01-hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Using a simulated local blockchain speeds up development and tests the behavior
:::info
- The term _simulated local blockchain_ refers to the local testing blockchain you use in the first phase of testing as described here.
- The term _Lightnet_ is used to describe the lightweight Mina network (Lightnet) that is a more accurate representation of the Mina blockchain. See [Testing zkApps with Lightnet](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet).
- The term _Lightnet_ is used to describe the lightweight Mina network (Lightnet) that is a more accurate representation of the Mina blockchain. See [Testing zkApps with Lightnet](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet).
:::
Expand Down
2 changes: 1 addition & 1 deletion docs/zkapps/tutorials/03-deploying-to-a-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ You ran the `zk deploy` command to:
Congratulations!
To test, configure, and deploy your zkApp on a local representation of the Mina blockchain, see [Testing zkApps with Lightnet](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet).
To test, configure, and deploy your zkApp on a local representation of the Mina blockchain, see [Testing zkApps with Lightnet](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet).
## About the Smart Contract Transactions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ In the near future, we want to add a function to retrieve actions from an archiv
this.reducer.getActions({ fromActionState?: Field, endActionState?: Field }): A[][];
```
Use `getActions` for testing with a simulated `LocalBlockchain`. See [Testing zkApps Locally](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally).
Use `getActions` for testing with a simulated `LocalBlockchain`. See [Testing zkApps Locally](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally).
### Actions for concurrent state updates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ Add the logic for your smart contract.
### 6. Test locally
- [Test zkApps locally](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally) with a simulated local blockchain.
- [Test zkApps locally](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally) with a simulated local blockchain.
### 7. Test with Lightnet
- Use [Lightnet](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet) to test your zkApp with an accurate representation of Mina blockchain.
- Use [Lightnet](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet) to test your zkApp with an accurate representation of Mina blockchain.
1. Start Lightnet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ zkApps are written in TypeScript using o1js. o1js is a TypeScript library for wr

To get started writing zkApps, begin with these o1js docs:

- [Basic concepts](zkapps/o1js/basic-concepts)
- [Basic concepts](/zkapps/o1js/basic-concepts)
- [Interacting with Mina](/zkapps/writing-a-zkapp/introduction-to-zkapps/interact-with-mina)

A basic smart contract example is generated when you created a zk project. The high-level smart contract code workflow is:
Expand All @@ -270,10 +270,10 @@ A basic smart contract example is generated when you created a zk project. The h

See the exported `class` in the [Add.ts](https://github.com/o1-labs/zkapp-cli/blob/main/templates/project-ts/src/Add.ts#L12) file.

For guided steps to create your first zkApp, start with [Tutorial 1: Hello World](zkapps/tutorials/hello-world).
For guided steps to create your first zkApp, start with [Tutorial 1: Hello World](/zkapps/tutorials/hello-world).

For comprehensive details about the o1js API, see the [o1js reference](zkapps/o1js-reference).
For comprehensive details about the o1js API, see the [o1js reference](/zkapps/o1js-reference).

## Next Steps

Now that you've learned how to write and operate a basic smart contract, you can learn about [Testing zkApps Locally](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally).
Now that you've learned how to write and operate a basic smart contract, you can learn about [Testing zkApps Locally](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally).
Original file line number Diff line number Diff line change
Expand Up @@ -470,4 +470,4 @@ Doing this means setting up a fresh, local ledger that is pre-filled with a coup

Fun fact: The `LocalBlockchain` instance literally uses the same OCaml code for transaction validation and application that the Mina node uses; it's compiled to JavaScript with [js_of_ocaml](https://github.com/ocsigen/js_of_ocaml).

You can learn more about testing in [Test zkApps Locally](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally).
You can learn more about testing in [Test zkApps Locally](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally).
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ When you use Lightnet via the [`zkapp-cli`](/zkapps/writing-a-zkapp/introduction

## High-level workflow for Lightnet

1. [Write tests for your smart contract](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally#writing-tests-for-your-smart-contract) and test locally on a simulated local blockchain
1. [Write tests for your smart contract](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-locally#writing-tests-for-your-smart-contract) and test locally on a simulated local blockchain
1. Start the `Docker Engine`
1. [Start the Lightnet](#start-the-single-node-network)
1. [Configure and deploy your zkApp to Lightnet](#configure-your-zkapp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ See the [Jest Getting Started](https://jestjs.io/docs/getting-started) documenta

## Next Steps

Now that you know how to test a smart contract on a simulated local blockchain, you can move on to [Testing zkApps with Lightnet](zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet) before you learn [how to deploy your zkApp](how-to-deploy-a-zkapp) to public networks.
Now that you know how to test a smart contract on a simulated local blockchain, you can move on to [Testing zkApps with Lightnet](/zkapps/writing-a-zkapp/introduction-to-zkapps/testing-zkapps-lightnet) before you learn [how to deploy your zkApp](how-to-deploy-a-zkapp) to public networks.

0 comments on commit 385adc6

Please sign in to comment.