Foundry

Getting setup with Foundry

Setting up your environment

Create a new directory and navigate to it.

$ mkdir create-pharo-foundry
$ cd create-pharo-foundry

For this example, we'll use `forge build` to compile our contracts.

Now we can install the v1 Core contracts, so that we can inherit what we need to create a new Pharo.

$ npm i @pharo/contracts

Compiling Your Contract

We can compile our contracts with forge build

Last updated

Was this helpful?