LayerZero-Labs / LayerZero-Aptos-Contract

LayerZero implementation for Aptos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

LayerZero implementation for Aptos

License:Other


Languages

Language:TypeScript 47.6%Language:Move 44.0%Language:Solidity 7.0%Language:Makefile 1.0%Language:JavaScript 0.4%