Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jac18281828/o2merkle
Optimism Merkle Tree Playground
https://github.com/jac18281828/o2merkle
Last synced: about 1 month ago
JSON representation
Optimism Merkle Tree Playground
- Host: GitHub
- URL: https://github.com/jac18281828/o2merkle
- Owner: jac18281828
- Created: 2023-10-11T17:58:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-30T15:54:21.000Z (about 1 year ago)
- Last Synced: 2024-10-15T19:13:58.664Z (3 months ago)
- Language: Solidity
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Optimism Merkle Tutorial
## Usage
### Build
```shell
$ forge build
```### Test
```shell
$ forge test
```### Format
```shell
$ forge fmt
```### Gas Snapshots
```shell
$ forge snapshot
```### Anvil
```shell
$ anvil
```### Deploy
```shell
$ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key
```### Cast
```shell
$ cast
```### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```## Quick Start
### Submodules
First, init submodules from the project root
```bash
$ git submodule update --recursive --init -f
```### Registry Development
This contract supports containerized development. From Visual Studio Code Remote Containers extension
`Reopen in Container`
or
Command line build using docker
```bash
$ docker build . -t o2merkle:1
```