Quickstart: Setup & First Interaction
This guide explains how to set up and interact with the AetherCycle Protocol in a local development environment. It assumes familiarity with Hardhat and Ethers.js.
1. Prerequisites
Ensure the following are installed on your system:
Node.js v20+
npm or yarn
Git
2. Environment Setup
# Clone the repository
git clone https://github.com/aethercycle/aethercycle-protocol.git
cd aethercycle-protocol
# Install dependencies
npm install3. Compile the Contracts
npx hardhat compile4. Run the Test Suite
5. First Interaction
Step 1: Start a Local Node
Step 2: Deploy Contracts
Take note of the PerpetualEndowment contract address printed in the console.
Step 3: Query the Contract
Create a file scripts/checkEndowment.js with the following:
Step 4: Run the Script
Result
If successful, you now have a fully functional local AetherCycle environment for building, testing, and interacting with the protocol.
Last updated