Skip to content

vacekj/allo-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

one-click-deploy

This is a Foundry script that aims to deploy a full-fledged testing round along with projects, applications, votes and payouts in one command.

The idea is to take everything in here: https://github.com/allo-protocol/contracts/tree/main/scripts and translate it to Solidity/Forge using this https://github.com/Allo-Protocol/contracts/blob/main/docs/DEPLOY_STEPS.md Forge deploy scripts reference: https://book.getfoundry.sh/tutorials/solidity-scripting

Devlog

Since forge script just collects all txs into one block irrespective of ffi waiting or vm.start/stopBroadcast, we will need to orchestrate multiple forge scripts via a Rust script. This will make waiting and data processing easier, but we will need to pass in data to the forge scripts using the environment.

Features

  • One-command deploy - fill out .env, run deploy script and everything is taken care of
  • Supports all chains natively - change the RPC URL to any EVM chain
  • Non-interactive - doesn't require confirmations
  • Does real interaction - creates projects, applies to rounds, rejects some applications and approves others, casts various votes, does a payout.
  • Designed to be used with a local Anvil node, but can be used on any chain given enough gas in mnemonic accounts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors