This repository contains the smart contracts source code and configuration for Brahma Vaults. The repository uses Hardhat as development environment for compilation, testing and deployment tasks. The repository mainly hosts the source file for protected moonshot vault.
The Protected Moonshot DegenVault aims to achieve to hold stables but still take leveraged positions to maximise the base yield.
contracts: Contains all the source code of contracts used for protected moonshot vault.
docs: Contains all the documentation related core contracts.
You can join at the Discord channel for asking questions about the protocol or talk about new defi strategies.
You can install hardhat
as an NPM package to get started with contracts. Setup an .env
as shown in .env_example.
You can run the full test suite with the following commands:
# In one terminal
npx hardhat test test/mainnet/*
export FORK_OPTIMISM = 1
npx hardhat test test/optimism/*