https://github.com/ocdbytes/madara-scripts
https://github.com/ocdbytes/madara-scripts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ocdbytes/madara-scripts
- Owner: ocdbytes
- Created: 2024-09-12T19:07:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-02T04:48:03.000Z (over 1 year ago)
- Last Synced: 2025-03-19T17:09:13.918Z (11 months ago)
- Language: TypeScript
- Size: 749 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scripts for madara
> [!IMPORTANT]
> You need to update the SENDER_ACCOUNT_ADDRESS, SENDER_ACCOUNT_PK
> in [constants.ts](./scripts/constants.ts) everytime you
> are running madara as devnet addresses are not yet constant
> everytime.
```diff
-⠀⠀⣀⣀⣀⣠⣤⣤⣤⠤⡀⠀⠀⠀⠀⠀⠀⠀⠀
-⣠⣤⣤⣤⡤⢴⡶⠶⣤⣄⣉⠙⣦⡀⠀⠀⠀⠀⠀
-⢨⣭⣭⡅⣼⣿⣿⡇⠈⢻⣮⡑⣦⡙⢦⣄⡀⠀⠀
-⣄⢻⣿⣧⠻⠇⠋⠀⠛⠀⢘⣿⢰⣿⣦⡀⢍⣂⠀
-⠈⣃⡙⢿⣧⣙⠶⣿⣿⡷⢘⣡⣿⣿⣿⣿⣆⠹⠂
-⠀⠈⠳⡀⠉⠻⣿⣶⣶⡾⠿⠿⠿⠿⠛⠋⣉⡴⠀
-⠀⠀⠀⠀⠈⠓⠦⠤⠀⠀⠐⠖⠉⠛⠛⠛⠋⠉⠀
```
- Madara Repo Link : [Git Repo :)](https://github.com/madara-alliance/madara)
- To run the madara sequencer :
```sh
cargo run --release \
-- --name madara \
--base-path ../madara6 \
--network sepolia \
--authority \
--telemetry-disabled \
--rpc-port 9944 \
--rpc-cors "*" \
--rpc-external \
--devnet \
--l1-endpoint https://sepolia.infura.io/v3/$INFURA_API_KEY
```