{"id":14539566,"url":"https://github.com/wiseaidev/rust-web3-solana","last_synced_at":"2025-08-03T04:35:13.615Z","repository":{"id":226575738,"uuid":"769039345","full_name":"wiseaidev/rust-web3-solana","owner":"wiseaidev","description":" Rust For Web3 and Solana Development Encyclopedia 🌐 (WIP)","archived":false,"fork":false,"pushed_at":"2024-07-22T09:26:17.000Z","size":2154,"stargazers_count":35,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T16:04:37.654Z","etag":null,"topics":["blockchain","cryptocurrency","cryptography","evcxr","jupyter","jupyter-notebook","openbook","openbook-dex","openbookv2","solana","solana-client","solana-program","solana-sdk","web3"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiseaidev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-08T08:09:55.000Z","updated_at":"2025-02-17T10:13:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c56ec75f-8f74-4bb1-86dd-eb840599cd7e","html_url":"https://github.com/wiseaidev/rust-web3-solana","commit_stats":null,"previous_names":["wiseaidev/rust-web3-solana"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Frust-web3-solana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Frust-web3-solana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Frust-web3-solana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Frust-web3-solana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiseaidev","download_url":"https://codeload.github.com/wiseaidev/rust-web3-solana/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249007043,"owners_count":21197394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cryptocurrency","cryptography","evcxr","jupyter","jupyter-notebook","openbook","openbook-dex","openbookv2","solana","solana-client","solana-program","solana-sdk","web3"],"created_at":"2024-09-05T15:01:32.069Z","updated_at":"2025-04-15T04:34:03.632Z","avatar_url":"https://github.com/wiseaidev.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# 📚 Rust Web3 Solana\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/wiseaidev)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![made-with-rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg?logo=rust\u0026logoColor=white)](https://www.rust-lang.org/)\n[![Jupyter Notebook](https://img.shields.io/badge/Jupyter-Notebook-blue.svg?logo=Jupyter\u0026logoColor=orange)](https://jupyter.org/)\n\nWelcome to the Rust Web3 Solana repository! This collection of Jupyter notebooks provides an extensive tutorial on using Rust for Solana development. I have compiled these resources while preparing for a senior blockchain \u0026 solana developer role interviews, aiming to create a hands-on tutorial for utilizing Rust in Solana development through Jupyter notebooks. This repository houses a wide range of topics covering web3 in general and Solana in particular.\n\n## 📝 Table of Contents\n\n- [Installation](#-installation)\n- [Tutorials](#-tutorials)\n- [Contributing](#-contributing)\n- [Licence](#-licence)\n- [Star History](#-star-history)\n\n## 🚀 Installation\n\nTo use the notebooks in this repository, you need to set up your environment. Follow these steps to get started:\n\n1. Clone the repository to your local machine:\n\n\t```sh\n\tgit clone https://github.com/wiseaidev/rust-web3-solana.git\n\t```\n\n1. Install the required dependencies and libraries. Make sure you have [`Rust`](https://rustup.rs/), [`Jupyter Notebook`](https://jupyter.org/install), and [`evcxr_jupyter`](https://github.com/evcxr/evcxr/blob/main/evcxr_jupyter/README.md) installed on your system.\n\n\t```sh\n\t# Install a Rust toolchain (e.g., nightly):\n\tcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly\n\n\t# Install Jupyter Notebook\n\tpip install notebook\n\n\t# Install evcxr_jupyter\n\tcargo install evcxr_jupyter\n\tevcxr_jupyter --install\t\n\t```\n\n1. Navigate to the cloned repository:\n\n\t```sh\n\tcd rust-web3-solana\n\t```\n\n1. Start Jupyter Notebook:\n\n\t```sh\n\tjupyter notebook\n\t```\n\n1. Access the notebooks in your web browser by clicking on the notebook file you want to explore.\n\n## 📌 Chapters\n\n| ID | Title | NB Pages | Topics | Open on GitHub | Launch on Binder | Launch on Colab | Read PDF |\n|----|---------------|-----------|:-------------|-------------|----------------|-------|-------|\n| 1  | **Web3 Solana Basics** | 21+ | - Cryptographic Key Pairs \u003cbr\u003e- Digital Wallets \u003cbr\u003e- Solana Accounts \u003cbr\u003e- Smart Contracts \u003cbr\u003e- Instructions and Transactions \u003cbr\u003e- The Architecture of the Solana Blockchain \u003cbr\u003e- Communicating with Solana through JSON RPC \u003cbr\u003e- Proof of History (POH) | [![Github](https://img.shields.io/badge/launch-Github-181717.svg?logo=github\u0026logoColor=white)](./chapter-1/chapter-1.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/wiseaidev/rust-web3-solana/main?filepath=chapter-1/chapter-1.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/wiseaidev/rust-web3-solana/blob/main/chapter-1/chapter-1.ipynb) | [![nbviewer](https://img.shields.io/badge/Read%20PDF-nbviewer-blue)](https://nbviewer.org/github/wiseaidev/rust-web3-solana/tree/main/chapter-1/chapter-1.pdf) |\n| 2  | **Chapter 2: Deep Dive into OpenBook V1 on Solana** | 10+ | - Central Limit Order Book (CLOB) \u003cbr\u003e- OpenBook V1 Accounts \u003cbr\u003e- Market Bids/Asks \u003cbr\u003e- Market Event/Request Queues \u003cbr\u003e- Placing Orders \u003cbr\u003e- Open Orders Account \u003cbr\u003e- Slab \u003cbr\u003e- Order ID \u003cbr\u003e- OpenBook Crate | [![Github](https://img.shields.io/badge/launch-Github-181717.svg?logo=github\u0026logoColor=white)](./chapter-2/chapter-2.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/wiseaidev/rust-web3-solana/main?filepath=chapter-2/chapter-2.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/wiseaidev/rust-web3-solana/blob/main/chapter-2/chapter-2.ipynb) | [![nbviewer](https://img.shields.io/badge/Read%20PDF-nbviewer-blue)](https://nbviewer.org/github/wiseaidev/rust-web3-solana/tree/main/chapter-2/chapter-2.pdf) |\n| 3  | **Chapter 3: Order Lifecycle on the OpenBook v1 Dex** | 9+ | - Event Queues \u003cbr\u003e - Order Matching Engine \u003cbr\u003e - Order Placement and Cancellation \u003cbr\u003e - Order Execution and Settlement \u003cbr\u003e - Fee Calculation and Distribution | [![Github](https://img.shields.io/badge/launch-Github-181717.svg?logo=github\u0026logoColor=white)](./chapter-3/chapter-3.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/wiseaidev/rust-web3-solana/main?filepath=chapter-3/chapter-3.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/wiseaidev/rust-web3-solana/blob/main/chapter-3/chapter-3.ipynb) | [![nbviewer](https://img.shields.io/badge/Read%20PDF-nbviewer-blue)](https://nbviewer.org/github/wiseaidev/rust-web3-solana/tree/main/chapter-3/chapter-3.pdf) |\n| 4  | **Chapter 4: Understanding the Critbit Process in OpenBook v1** | 10+ | - Crit-Bit Trees \u003cbr\u003e - InnerNode Structure Operations \u003cbr\u003e - LeafNode Structure Operations \u003cbr\u003e - FreeNode Structure and Operations \u003cbr\u003e - Other Critbit Operations | [![Github](https://img.shields.io/badge/launch-Github-181717.svg?logo=github\u0026logoColor=white)](./chapter-4/chapter-4.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/wiseaidev/rust-web3-solana/main?filepath=chapter-4/chapter-4.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/wiseaidev/rust-web3-solana/blob/main/chapter-4/chapter-4.ipynb) | [![nbviewer](https://img.shields.io/badge/Read%20PDF-nbviewer-blue)](https://nbviewer.org/github/wiseaidev/rust-web3-solana/tree/main/chapter-4/chapter-4.pdf) |\n| 5  | **Chapter 5: Deep Dive into OpenBook V2 Program** | 19 | - OpenBook V2 Intro \u003cbr\u003e - OpenBook V2 Core Components \u003cbr\u003e - OpenBook V2 Central Limit Orderbook (CLOB) \u003cbr\u003e - Order Matching and Execution \u003cbr\u003e - Events Iteration and Processing \u003cbr\u003e - Orders Tree Operations | [![Github](https://img.shields.io/badge/launch-Github-181717.svg?logo=github\u0026logoColor=white)](./chapter-5/chapter-5.ipynb) | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/wiseaidev/rust-web3-solana/main?filepath=chapter-5/chapter-5.ipynb) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/wiseaidev/rust-web3-solana/blob/main/chapter-5/chapter-5.ipynb) | [![nbviewer](https://img.shields.io/badge/Read%20PDF-nbviewer-blue)](https://nbviewer.org/github/wiseaidev/rust-web3-solana/tree/main/chapter-5/chapter-5.pdf) |\n\n## 🤝 Contributing\n\nWe welcome contributions to enhance the Rust Web3 Solana repository! To contribute, please follow the [`CONTRIBUTING.md`](CONTRIBUTING.md) file guidelines. Thank you for helping make this project better!\n\n## 📜 License\n\nThis project is licensed under the [MIT](https://opensource.org/licenses/MIT). For more details, You can refer to the [LICENSE](LICENSE) file.\n\n## 📈 Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=wiseaidev/rust-web3-solana\u0026type=Date)](https://star-history.com/#wiseaidev/rust-web3-solana\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseaidev%2Frust-web3-solana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiseaidev%2Frust-web3-solana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseaidev%2Frust-web3-solana/lists"}