Monomer uses the OP stack to make Cosmos applications deployable as Ethereum rollups.
⚠ Monomer is pre-production software and should be used with caution. ⚠
From the OP stack's perspective, Monomer replaces the default Ethereum compatible execution engine. From the Cosmos application's perspective, Monomer replaces the CometBFT consensus layer.
We use Go 1.22. To run the e2e tests, you'll need the submodules and a configured L1 backend. We use buf
to manage protobufs.
-
Install go 1.22 or higher.
-
Initialize submodules:
git submodule update --init --recursive
-
Install jq
-
Install foundry
-
Install buf:
make install-buf
-
Install golangci-lint:
make install-golangci-lint
-
Install go-test-coverage:
make install-go-test-coverage
- Set up the environment for end-to-end (e2e) tests:
make setup-e2e
- Run the e2e tests:
make e2e
- Run the unit tests:
make test
- Run linting:
make lint
- Check test coverage
make check-cover
- Clean up generated files and artifacts:
make clean