_ _ ______ _ _____ _
| | | | (____ \ _ | | (____ \ (_)_
| | | | _ ____ ____ ____ ____) ) ____| |_ ____| | _ _ \ \ ____ ____ ___ ___ _| |_
\ \/ / | | | _ \ / _ )/ ___) | __ ( / _ | _)/ ___) || \ | | | / _ ) _ \ / _ \ /___) | _)
\ /| |_| | | | ( (/ /| | | |__) | ( | | |_( (___| | | | | |__/ ( (/ /| | | | |_| |___ | | |__
\/ \__ | ||_/ \____)_| |______/ \_||_|\___)____)_| |_| |_____/ \____) ||_/ \___/(___/|_|\___)
(____/|_| |_|
Optimized Batch Deposit contract using Vyper
The following will need to be installed in order to use this project. Please follow the links and instructions.
- Git
- You'll know you've done it right if you can run
git --version
- You'll know you've done it right if you can run
- Foundry / Foundryup
- This will install
forge
,cast
, andanvil
- You can test you've installed them right by running
forge --version
and get an output like:forge 0.2.0 (92f8951 2022-08-06T00:09:32.96582Z)
- To get the latest of each, just run
foundryup
- This will install
- Vyper Compiler
- You'll know you've done it right if you can run
vyper --version
and get an output like:0.3.9+commit.66b9670
- You'll know you've done it right if you can run
forge build
forge test
Use the script corresponding to the network you want to deploy to. For example, to deploy to Goerli:
forge script script/Deploy.goerli.s.sol --ffi --rpc-url <RPC> --broadcast --private-key <PRIVATE_KEY>
0x576834cB068e677db4aFF6ca245c7bde16C3867e
compiled with Vyper 0.3.10
0x207E47ffD46f91eA971a4ee53647F55804Dc6ad0
compiled with Vyper 0.3.10
0x0866af1D55bb1e9c2f63b1977926276F8d51b806
compiled with vyper 0.3.10
This project uses Foundry. See the book for instructions on how to install and use Foundry.