Update deploy-contract-script for new RLNv2 contract on different branch

This commit is contained in:
stubbsta 2024-04-24 14:56:58 +02:00
parent a7de0823fa
commit bcffbdad3c
No known key found for this signature in database

View File

@ -2,12 +2,19 @@
set -e
which yarn
echo $PATH
export PATH=$PATH:$HOME/.yarn/bin
echo $PATH
# 1. Install foundry
curl -L https://foundry.paradigm.xyz | bash && . /root/.bashrc && foundryup && export PATH=$PATH:$HOME/.foundry/bin
#. 2. Clone and build waku-rln-contract repo
git clone https://github.com/waku-org/waku-rln-contract.git
cd /waku-rln-contract
git checkout rln-v2
forge install && yarn install && yarn compile
# 3. Create .env file with RPC_PROVIDER variable