Immediately get started developing smart contracts
Posted on Sat 28 January 2023 in tech
Immediately get started developing smart contracts using the Collective.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/collectivexyz/foundry | |
collective foundry Dockerfile for Visual Studio Code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ghcr.io/collectivexyz/foundry:latest | |
ARG PROJECT=ethproxydelegate | |
WORKDIR /workspaces/${PROJECT} | |
RUN chown -R mr.mr . | |
COPY --chown=mr:mr . . | |
ENV USER=mr | |
USER mr | |
ENV PATH=${PATH}:~/.cargo/bin | |
RUN yarn install --dev | |
RUN yarn prettier:check | |
RUN yarn hint | |
RUN forge test -vvv |
Full tutorial on YouTube: