Projects
View on GitHub Notes for
OlympusDAO/olympus-contracts
OlympusDAO/olympus-contracts has 718 GitHub stars and 854 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 18:38 UTC. Last push 2026-09-03.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
This is the main Olympus smart contract development repository.
Developer ToolsREADME.md
OriginalΩ Olympus Smart Contracts
This is the main Olympus smart contract development repository.
🔧 Setting up local development
Requirements
Local Setup Steps
# Clone the repository
git clone https://github.com/OlympusDAO/olympus-contracts.git
# Install dependencies
yarn install
# Set up environment variables (keys)
cp .env.example .env # (linux)
copy .env.example .env # (windows)
# compile solidity, the below will automatically also run yarn typechain
yarn compile
# if you want to explicitly run typechain, run
yarn compile --no-typechain
yarn typechain
# run a local hardhat node
yarn run start
# test deployment or deploy
# yarn run deploy:<network>, example:
yarn run deploy:hardhat
Local Setup Steps (with Docker)
A Docker image is available to simplify setup.
# First setup keys, to do this first copy as above
cp .env.example .env # (linux)
copy .env.example .env # (windows)
# Populate ALCHEMY_API_KEY and PRIVATE_KEY into `.env` afterwards
# Then, start the node
make run
📜 Contract Addresses
- For Ethereum Mainnet.
- For Rinkeby Testnet.
Notes for localhost
- The
deployments/localhostdirectory is included in the git repository, so that the contract addresses remain constant. Otherwise, the frontend'sconstants.tsfile would need to be updated. - Avoid committing changes to the
deployments/localhostfiles (unless you are sure), as this will alter the state of the hardhat node when deployed in tests.
📖 Guides
Contracts
- Allocator Contribution Guidelines
- Allocator Interaction Instructions
- Allocator version 1 guide (1.0.0).
- System Architecture (image)
Testing
Security Exceptions
Current unresolved findings are tracked inline in .trivyignore.
@openzeppelin/[email protected]advisories are ignored for now because remediation requires migration to OpenZeppelin 4.x, which is currently out of scope.- Remaining Docker image OS findings come from upstream
node:22-bookworm-slimDebian packages. These should be revisited as upstream base-image patches are published.
Node Version Note
The repository currently targets Node.js 22 in CI and local tooling. This is a temporary compatibility measure while resolving Hardhat compiler-download failures observed under Node.js 24.