-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy arbitrary teleporter contracts (#1959)
* add skel * add missing files * check for forge to have been installed * add comments * start automating foundry install * added automated froundry install * start working agains teleporter repo * deploying contract given abi and bin files * adding destination deploy * deploying the destination * ux design 2 for bridge deploy of fuji * add popular token info list * move to new file * add blockchain alias to popular tokens json * start using teleporter bridge deploy * adddress suggestions * fix recommended * update to latest esp * start obtaining erc20 token balances * add key list for erc20 tokens * enable local network and filter inputs subnets by network * refactor obtaining chain info into a separate function * use flags for hub chain def * add flags for the different hub options * validate and prompt hub options * nit * add validation for subnet name * nits * validate erc20 token * start adding helpers for deploy * bridge hub deployed * erc20 hub deployed on local network c-chain * nit * nit * if given hub, get erc20 address from hub, then token details from erc20 * ready to deploy spoke * add spoke deploy * nit * nits * add registration * added hub deploy for native tokens * add contract indicator to key list * refactor into lib * add foundry install stuff * add foundry install to flow * add bridge contracts download * nits * added bridge contracts download + compilation * nit * add explanations * nit * started working simple contract method call * this is beauty * added native transfer * avoid passing in field names * added contract call * add contract file * check hub kind * add send function for bridge hubs * cleanup of key transfer * full go and back for erc20 - erc20 * fix symbol on key list * remove all abi file ref * do not compile abi anymore * lint * add prompts to key transfer * lint * add subnets flag to list to select different subnet balances * nit * fix e2e * fix key e2e * fix recommended tags * enable filtering out native token on key list * make transaction commit to wait for tx acceptance * download registry bytecode * deploy registry binary * nit * add methods to set the contracts by file * add asset stuff to lib * remove unneded version param from deploy * asset download reincorporated into deploy cmd * added arbitrary teleporter binaries to local deploy * add automatic download of assets if no files are specified * lint * add back again a flag to be deprecated * Use registry release (#1958) * download registry bytecode * deploy registry binary * nit * Teleporter msg using contract (#1979) * add skel to send cross chain message and to check if message was received * add function to check if message was received on destination * remove unneded send cross chain message param * add options to better encode the message, and to set the destination address * start adding private key control * add private key options * refactor private key digging into separate functions * use new privatekey gattering functions in teleporter deploy * improving * msg working * pass slice example if [()] * using contract method * working * lint --------- Signed-off-by: sukantoraymond <rsukanto@umich.edu> Co-authored-by: sukantoraymond <rsukanto@umich.edu>
- Loading branch information
1 parent
6830789
commit d8f684e
Showing
14 changed files
with
799 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.