Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```