Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weavevm/blobvm-sequencer
https://github.com/weavevm/blobvm-sequencer
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/weavevm/blobvm-sequencer
- Owner: weaveVM
- License: mit
- Created: 2024-04-08T21:11:39.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T09:34:04.000Z (7 months ago)
- Last Synced: 2024-04-26T10:39:14.917Z (7 months ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Build and run
You need to configure the `.env` config file by adding your [Irys](https://irys.xyz) and [Planetscale](https://planetscale.com) params. Check `.env.example`
```bash
git clone https://github.com/weavevm/blobvm-sequencer.gitcd blobvm-sequencer
npm i && npm run start
```Also you need to initialize your Planetscale tables with the SQL statements of [init.sql](./init.sql)
## Endpoints
#### Base endpoint: https://blobvm-sequencer-c60bec254262.herokuapp.com
### Contract state
```bash
curl -X GET base_endpoint/state/your_contract_addr
```### Deploy a contract
```bash
curl -X POST -H "Content-Type: application/json" -d '{"txid": "contract_eip4844_txid"}' base_endpoint/deploy
```### Send a transaction
```bash
curl -X POST -H "Content-Type: application/json" -d '{"txid": "eip4844_txid"}' base_endpoint/transactions
```## License
This repository is licensed under the [MIT License](./LICENSE)