SECTION 3 (Workshop) #17
Scofield-Idehen
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you get stuck in this workshop, here is a workaround on how I did mine, first I set up a new directory and initialize it using
uv init
You might encounter a bit of a dependencies issue here, I did have to change which Venv I was, make sure to figure this out and install Titanoboa using
uv add
create a new file, I set mine as
dad.vy
Here you have to think about the assignment properlyHere is my code structure.
Next, I created my
deploy.py
script and here I took a lot from the previous class as it was the same thing I only changed the file name and the functions in your .vyYou can find mine here here
once confirmed make sure you run
python [NAME_OF_FILE]
Copy the contract address and then create an
interact.py
file set theMY_CONTRACT
address to the contract gotten from the deploy script you ran aboveHere is how mine looked after I was done
Tenderly
If you want to deploy on Tenderly, change the RPC from Anvil to the Tenderly network RPC and copy your private key from Metamask.
Review the previous videos on Tenderly to understand how Patrick connects Tenderly with Metamask.
Copy the new contract after deploying the contract into the
MY_CONTRACT
and interact with the deployed contract.Workshop done.
Beta Was this translation helpful? Give feedback.
All reactions