https://github.com/ulbqb/cw-dymension
Dymension Rollup Engine Contract
https://github.com/ulbqb/cw-dymension
cosmos cosmos-sdk cosmwasm l2-scaling rollup rust
Last synced: 8 days ago
JSON representation
Dymension Rollup Engine Contract
- Host: GitHub
- URL: https://github.com/ulbqb/cw-dymension
- Owner: ulbqb
- License: apache-2.0
- Created: 2024-02-08T10:47:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-04T08:35:02.000Z (over 1 year ago)
- Last Synced: 2025-01-20T18:12:07.363Z (5 months ago)
- Topics: cosmos, cosmos-sdk, cosmwasm, l2-scaling, rollup, rust
- Language: Rust
- Homepage:
- Size: 94.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CW Dymension
This is a engine contract (like x/rollapp and x/sequencer) of [Dymension](https://dymension.xyz/) rollapp. This enables to run Dymension Rollapp on any Cosmwasm chains.
## Demo on Neutron Testnet (Pion)
This demo uses a pre-deployed contract on Neutron testnet so you don't need to deploy the contract.
- Code ID: [3171](https://neutron.celat.one/pion-1/codes/3171/info)
- Contract Address: [neutron1fvlf4r7evmj8zryxgujdslnnfv4ywxu54pf68jy77hyvz6dlr8dscz7yc2](https://neutron.celat.one/pion-1/contracts/neutron1fvlf4r7evmj8zryxgujdslnnfv4ywxu54pf68jy77hyvz6dlr8dscz7yc2)### Clone CW Dymension
```shell
$ git clone https://github.com/ulbqb/cw-dymension.git
$ cd cw-dymension
```### Install Binaries
Install `neutrond`.
```shell
$ git clone https://github.com/neutron-org/neutron.git
$ cd neutron
$ git checkout v2.0.1
$ make install
$ neutrond version
2.0.1
```Install `rollapp-evm`.
```shell
$ git clone https://github.com/ulbqb/rollapp-evm.git
$ cd rollapp-evm
$ git checkout 81405c59acb59285054cacc33a3f2932fccf83c2
$ make install
$ rollapp-evm version
HEAD-81405c59acb59285054cacc33a3f2932fccf83c2
```### Setup Enviroiment
Copy env file for Neutron testnet and generate rollapp id.
```shell
$ cd scripts
$ cp envs/pion.env env
$ perl -pi -e "s|^export ROLLAPP_CHAIN_ID=.*|export ROLLAPP_CHAIN_ID=$(tr -dc a-z