Files
zeekay 62f00bc7fa Modernize e2e tests: Remove node-gyp dependencies and update to Node.js 24
- Switched from yarn to pnpm for better dependency management
- Updated to Node.js 24 in CI workflow
- Replaced deprecated packages with modern alternatives:
  - @nomiclabs/hardhat-* → @nomicfoundation/hardhat-*
  - ethers v5 → ethers v6
  - Removed packages that require node-gyp (waffle, old typechain)
- Updated hardhat to v2.22.0 with full Node.js 24 support
- Fixed test code for ethers v6 API changes
- Significantly reduced native dependencies (only keccak and secp256k1 remain)
2025-07-21 18:10:05 -05:00
..
2022-06-23 14:22:02 -04:00

Lux EVM Contracts

CONTRACTS HERE ARE ALPHA SOFTWARE AND ARE NOT YET AUDITED. USE AT YOUR OWN RISK!

Introduction

These are sample contracts used to test that subnets are working.

Prerequisites

NodeJS and Yarn

First, install the LTS (long-term support) version of nodejs. This is 16.2.0 at the time of writing. NodeJS bundles npm.

Next, install yarn:

npm install -g yarn

Testing

To run all tests, run

npx hardhat test