coblox / bobtimus

an autobot that automatically handles swaps as Bob
Apache License 2.0
1 stars 1 forks source link

Extract `EthereumWallet` into its own library #78

Open thomaseizinger opened 5 years ago

thomaseizinger commented 5 years ago

Currently, we have an EthereumWallet here in bobtimus as-well in the e2e tests of comit-rs.

The implementations of those have bitten us several times (esp. the one for the e2e tests).

I propose to create a small NPM package that takes what we currently have in bobtimus and publish it on npmjs.com.

The mission of the library should be to provide an idiot-proof EthereumWallet that cannot be used wrongly :)

I think we should do #15 first though.

D4nte commented 5 years ago

I think we should provide a second/sub test library that provides helper to deploy an erc20 contract, mint tokens, etc.