Skip to content

Solidity solutions for exercises in Base Camp, the smart contract learning program, using Foundry.

Notifications You must be signed in to change notification settings

MrSaints/base-camp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

base-camp

Solidity solutions for Base Camp, the smart contract learning program, using Foundry.

Getting Started

# Install Foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup

# Build
forge build

# Testing
forge test
forge test --match-contract ControlStructures -vvvv

# Adding Deps (GitHub repository)
forge install openzeppelin/openzeppelin-contracts

Deployment

Set the MNEMONIC environment variable when deploying.

forge script script/01_BasicMath.s.sol:DeployBasicMath --broadcast --verify --rpc-url base-goerli

See scripts for more examples.

About

Solidity solutions for exercises in Base Camp, the smart contract learning program, using Foundry.

Topics

Resources

Stars

Watchers

Forks