Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Electron-Labs/cw-eth2-lc
Eth2 light client implementation as a cosmwasm smart contract
https://github.com/Electron-Labs/cw-eth2-lc
Last synced: about 1 month ago
JSON representation
Eth2 light client implementation as a cosmwasm smart contract
- Host: GitHub
- URL: https://github.com/Electron-Labs/cw-eth2-lc
- Owner: Electron-Labs
- Created: 2022-12-27T14:16:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-24T17:07:55.000Z (about 1 year ago)
- Last Synced: 2024-08-01T13:35:28.301Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 615 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ccamel - Electron-Labs/cw-eth2-lc - Eth2 light client implementation as a cosmwasm smart contract (Rust)
README
# cw-eth2-lc
### Tests
#### Unit tests
```sh
cargo test -- --nocapture
```#### E2E tests
```sh
# builds the smart contract and adds the artifacts in ./artifacts folder
cargo test --features e2e -- --nocapture --test-threads 1
```
### Build Prerequisites#### Cosmwasm-check
Used in `./scripts/build_sc.sh` to perform various checks on the wasm file to make sure its valid - such as if the wasm file has floating point operations .etc.
```sh
cargo install cosmwasm-check
```