Skip to content

This is the main Fortress Finance public smart contract repository.

License

Notifications You must be signed in to change notification settings

FortressFinance/fortress-contracts

Repository files navigation

Foundry MIT License

🏰 Fortress Finance Smart Contracts

This is the main Fortress Finance public smart contract repository.

🔧 Set up local development environment

Requirements

Local Setup Steps

# Clone the repository
git clone https://github.com/FortressFinance/fortress-contracts.git

# Change directory into the cloned repo
cd fortress-contracts

# Create a .env file
touch .env

# Add your mainnet RPC URL to the .env file
echo "MAINNET_RPC_URL=<YOUR_MAINNET_RPC_URL_LINK>" >> .env

# Add your mainnet RPC URL to the .env file
echo "ARBITRUM_RPC_URL=<YOUR_ARBITRUM_RPC_URL_LINK>" >> .env

# build the docker image
docker build -t fortress .

# run the image with a volume to the current working directory and enter the container
docker run -it -v "/${PWD}:/fortress-contracts" fortress bash

# build the project
forge build

Running Tests

To run tests, run the following commands

# run tests
forge test

# run slither
slither .

📜 Contract Addresses

Deployed Addresses.

📖 Documentation

Documentation.

💗 Contributing

Contributions are always welcome!

Come say hey in our Discord server.

About

This is the main Fortress Finance public smart contract repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published