A plugin that turns Vault into an Ethereum wallet.
The first incarnation of the
vault-ethereumplugin was an exercise in experimenting with an idea and proving a point. 2 years later, I feel both ends were acheived.
Having had several occasions to take this PoC to production with companies in the financial and blockchain communities (plug for Immutability, LLC's custom development!) I've decided to release an upgrade that tries to make the development experience better. I've also restricted the surface area of the plugin to a minimum.
convertAPI, which I keep for entertainment value.
$ cd $GOPATH/src/github.com/immutability-io/vault-ethereum $ make docker-build $ make run
Then, open a different terminal...
$ cd $GOPATH/src/github.com/immutability-io/vault-ethereum/docker
$ source ./local-test.sh auth $ ./demo.sh > README.md
If everything worked... And you have run the command above, your demo is had by viewing the results:
$ cat ./README.md
If everything didn't work, tell me why.
The best way to understand the API is to use the
path-helpcommand. For example:
$ vault path-help vault-ethereum/accounts/bob/deploy [±new-version ●] Request: accounts/bob/deploy Matching Route: ^accounts/(?P\w(([\w-.]+)?\w)?)/deploy$
Deploy a smart contract from an account.
abi (string) The contract ABI. address (string) <no description> bin (string) The compiled smart contract. gas_limit (string) The gas limit for the transaction - defaults to 0 meaning estimate. name (string) <no description> version (string) The smart contract version.
Deploy a smart contract to the network.
Supporting OSS is very hard.
This is my ETH address. The private keys are managed by this plugin: