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

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

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