@midl/contracts
v1.0.12
Published
Midl Contracts
Readme
Midl Contracts
This repository contains system's smart contracts of Midl
Prerequisites
- Node >= 20 (the repo is locked with Volta to
22.17.0). - Yarn or npm for package management.
- A regtest bitcoin balance (see next section).
Getting regtest bitcoin
Before you can deploy or test, you need a few testnet sats on Midl regtest.
- Use the faucet: open https://faucet.regtest.midl.xyz and paste a regtest BTC address.
- Or contact the Midl team: ping
@midl_xyzin the Telegram community and provide your address.
Quick-start
pnpm install
# 2. Copy the env template and paste your credentials
cp .env.example .env
$EDITOR .env
# 3. Deploy to Midl regtest or other network
pnpm hardhat deploy