mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
- 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)
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