diff --git a/README.md b/README.md index 5450e9623..eaf3fc032 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ LibXMTP is a shared library encapsulating the core functionality of the XMTP mes - InstallĀ [Rustup](https://rustup.rs/) - Install [Docker](https://www.docker.com/get-started/) +- Install [Foundry](https://book.getfoundry.sh/getting-started/installation#using-foundryup) ## Development diff --git a/dev/up b/dev/up index 217727f0f..7af7bf3d7 100755 --- a/dev/up +++ b/dev/up @@ -12,6 +12,13 @@ if [[ "${OSTYPE}" == "darwin"* ]]; then fi if ! kotlinc -version &>/dev/null; then brew install kotlin; fi if ! swiftformat -version &>/dev/null; then brew install swiftformat; fi + if ! foundryup -version &>/dev/null; then + # install foundry for tests that require mocking blockchain + curl -L https://foundry.paradigm.xyz | bash + # you may need to adjust this depending on which $SHELL you use + source $HOME/.zshenv + foundryup + fi fi rustup update