kilnfi / vyper_batch_deposit

Optimized Batch Deposit contract using Vyper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 _    _                           ______                  _        _____                         _      
| |  | |                         (____  \       _        | |      (____ \                       (_)_    
| |  | |   _ ____   ____  ____    ____)  ) ____| |_  ____| | _     _   \ \ ____ ____   ___   ___ _| |_  
 \ \/ / | | |  _ \ / _  )/ ___)  |  __  ( / _  |  _)/ ___) || \   | |   | / _  )  _ \ / _ \ /___) |  _) 
  \  /| |_| | | | ( (/ /| |      | |__)  | ( | | |_( (___| | | |  | |__/ ( (/ /| | | | |_| |___ | | |__ 
   \/  \__  | ||_/ \____)_|      |______/ \_||_|\___)____)_| |_|  |_____/ \____) ||_/ \___/(___/|_|\___)
      (____/|_|                                                                |_|                      

Optimized Batch Deposit contract using Vyper

Requirements

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
  • Foundry / Foundryup
    • This will install forge, cast, and anvil
    • 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
  • 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

Getting Started

forge build
forge test

Deploying

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>

Deployed Contracts

Mainnet

0x576834cB068e677db4aFF6ca245c7bde16C3867e compiled with Vyper 0.3.10

Goerli

0x207E47ffD46f91eA971a4ee53647F55804Dc6ad0 compiled with Vyper 0.3.10

Holesky

0x0866af1D55bb1e9c2f63b1977926276F8d51b806 compiled with vyper 0.3.10

Development

This project uses Foundry. See the book for instructions on how to install and use Foundry.

About

Optimized Batch Deposit contract using Vyper

License:The Unlicense


Languages

Language:Solidity 93.9%Language:Vyper 5.1%Language:Shell 1.0%Language:Makefile 0.0%