Closed sam-goodwin closed 2 years ago
This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.
Closes #3 Closes #15
This change introduces the
Contract
Construct which integrates with the Solidity compiler,solc
, to compile a Contract and deploy it to an EVM-compatible blockchain. It integrates with theWallet
Construct (#2), making use of its private key to sign the deploy transaction.Also included in this change is a new
Chain
class for configuring different blockchain networks. For testing purposes, I have also implemented aLocalEthChain
which hosts https://hub.docker.com/r/trufflesuite/ganache-cli/ on a Fargate cluster behind an Application Load Balancer.TODO:
LocalEthChain
to fund aWallet
with some Eth so that it can send transactions.