/LayerZero-Aptos-Contract

LayerZero implementation for Aptos

Primary LanguageTypeScriptOtherNOASSERTION

LayerZero Aptos

LayerZero Aptos endpoint.

Development Guide

Setup

git submodule init
git submodule update --recursive

cargo install --path deps/aptos-core/crates/aptos

Running tests

move modules

run tests of move modules

make test

SDK

to run tests of SDK, we need to launch local testnet first,

aptos node run-local-testnet --force-restart --assume-yes --with-faucet

then execute tests

cd sdk
npx jest ./tests/omniCounter.test.ts
npx jest ./tests/bridge.test.ts