Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: axelar local dev multiversx #104

Merged
merged 15 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ jobs:
matrix:
os: [ubuntu-22.04]
arch: [amd64]
# Elasticsearch used by MultiversX test
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:8.12.0"
env:
discovery.type: single-node
xpack.security.enabled: false
ports:
- "9200:9200"
steps:
- name: Download and Install Aptos Binary
run: |
Expand Down Expand Up @@ -37,6 +46,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Download and Install Multiversx Binary
run: |
pip3 install multiversx-sdk-cli==v9.3.1
mxpy localnet setup
cp -rf ./packages/axelar-local-dev-multiversx/external.toml ./localnet/validator00/config
cp -rf ./packages/axelar-local-dev-multiversx/external.toml ./localnet/validator01/config
cp -rf ./packages/axelar-local-dev-multiversx/external.toml ./localnet/validator02/config

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

Expand All @@ -57,7 +74,8 @@ jobs:
run: |
nohup sh -c "sui-test-validator" > nohup.out 2> nohup.err < /dev/null &
nohup sh -c "aptos node run-local-testnet --with-faucet" > nohup.out 2> nohup.err < /dev/null &
nohup sh -c "mxpy localnet start" > nohup.out 2> nohup.err < /dev/null &
nohup sh -c "anvil" < /dev/null &
nohup sh -c "anvil -p 8546" < /dev/null &
sleep 10
sleep 30
npm run test
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ Welcome to the Axelar Local Development Environment! This monorepo contains esse
- [@axelar-network/axelar-local-dev-aptos](./packages/axelar-local-dev-aptos/)
- [@axelar-network/axelar-local-dev-near](./packages/axelar-local-dev-near/)
- [@axelar-network/axelar-local-dev-sui](./packages/axelar-local-dev-sui/)
- [@axelar-network/axelar-local-dev-multiversx](./packages/axelar-local-dev-multiversx/)

The `axelar-local-dev` package is all you need for cross-chain applications between EVM chains. However, if you wish to explore cross-chain applications between EVM chains and other chain stacks, check out our specific guides:

- [EVM <-> Aptos Integration Guide](./packages/axelar-local-dev-aptos/README.md#configuration)
- [EVM <-> Near Integration Guide](./packages/axelar-local-dev-near/README.md#configuration)
- [Evm <-> Sui Integration Guide](./packages/axelar-local-dev-sui/README.md)\
- [Evm <-> Sui Integration Guide](./packages/axelar-local-dev-sui/README.md)
- [EVM <-> MultiversX Integration Guide](./packages/axelar-local-dev-multiversx/README.md#configuration)

## Prerequisites

Expand Down Expand Up @@ -44,3 +46,4 @@ We currently support the following chain stacks:
- [Aptos](./packages/axelar-local-dev-aptos/)
- [Near](./packages/axelar-local-dev-near/)
- [Sui](./packages/axelar-local-dev-sui/)
- [MultiversX](./packages/axelar-local-dev-multiversx/)
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "2.1.9",
"version": "2.2.0",
"packages": [
"packages/*"
]
Expand Down
Loading
Loading