-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from od-hunter/starknet-devnet
chore: devnet documentation
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |