Skip to content

Commit

Permalink
Merge pull request #94 from od-hunter/starknet-devnet
Browse files Browse the repository at this point in the history
chore: devnet documentation
  • Loading branch information
Darlington02 authored Jun 1, 2024
2 parents 4c43a10 + 59c3e91 commit 9a82cf7
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/src/chapter_6.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# Spinning up and using Devnet

An introduction to starknet devnet, and how you can easily spin it up using a script:
## Introduction

Resources:
- https://github.com/argentlabs/Starknet-Scaffold/tree/main?tab=readme-ov-file#run-starknet-devnet
- https://book.starknet.io/ch02-06-starknet-devnet.html
Starknet Devnet is a development network (devnet) implemented in Rust, similar to the Python-based starknet-devnet.With Devnet, you can simulate Starknet in the comfort of your local network. Fork mainnet/testnet to interact with real-world smart contracts, while maintaining isolation.

## Prerequisites:

1. Docker Installation: Docker has to be installed for the script to work.

## Run Starknet-Devnet

Ensure to have Docker installed. To run starknet-devnet:

```
npm run devnet
```

Check out the official starknet devnet documentation [here](https://book.starknet.io/ch02-06-starknet-devnet.html).

0 comments on commit 9a82cf7

Please sign in to comment.