Skip to content

MaxosLLC/LaunchPools

Repository files navigation

StakeVault Contract

This repo contains all the contracts for Presail. It uses hardhat to aid in development.

Installation:

git clone https://github.com/MaxosLLC/LaunchPools.git
cd LaunchPools
cp .env.example .env
npm install

Deploy and Verify:

npx hardhat run --network <your-network> scripts/deploy_<network>.ts
npx hardhat verify --network <your-network> --constructor-args scripts/arguments_<network>.ts DEPLOYED_CONTRACT_ADDRESS

Run the tests:

npx hardhat compile
npx hardhat test

Run a local node:

In order to test the system e2e, a local blockchain must be running.

  1. Run the local blockchain: npx hardhat node.
  2. Compile and deploy all contracts to this network: npx hardhat run --network localhost scripts/deploy.ts.

This will print out the addresses where the contracts where deployed. These values will be used in the frontend.

At this point, you have a local blockchain running on localhost:8545 ready to accept connections.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published