Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/solidstate-network/layerzero-client

💬 SolidState integration with the LayerZero cross-chain messaging protocol 🧅
https://github.com/solidstate-network/layerzero-client

cross-chain eth ether ethereum hardhat layer-zero layerzero solidity wow

Last synced: 13 days ago
JSON representation

💬 SolidState integration with the LayerZero cross-chain messaging protocol 🧅

Awesome Lists containing this project

README

        

# SolidState LayerZero Client

SolidState integration with the LayerZero cross-chain messaging protocol.

This project is built with [SolidState](https://github.com/solidstate-network). See the [solidstate-solidity](https://github.com/solidstate-network/solidstate-solidity) documentation for information about contract integration and testing.

## Installation

```bash
npm install --save-dev @solidstate/layerzero-client
# or
yarn add --dev @solidstate/layerzero-client
```

## Development

Install dependencies via Yarn:

```bash
yarn install
```

Setup Husky to format code on commit:

```bash
yarn prepare
```

Compile contracts via Hardhat:

```bash
yarn run hardhat compile
```

### Testing

Test contracts with Hardhat and generate gas report using `hardhat-gas-reporter`:

```bash
yarn run hardhat test
```

Generate a code coverage report using `solidity-coverage`:

```bash
yarn run hardhat coverage
```

### Documentation

A static documentation site can be generated using `hardhat-docgen`:

```bash
yarn run hardhat docgen
```