tomusdrw / rust-web3

Ethereum JSON-RPC multi-transport client. Rust implementation of web3 library. ENS address: rust-web3.eth
MIT License
1.44k stars 461 forks source link

EthPM endpoint #171

Open fubuloubu opened 5 years ago

fubuloubu commented 5 years ago

Create an ethPM endpoint (https://github.com/ethpm/) that can load a package manifest locally (on disk) or from a given location (IPFS, Swarm), be able to obtain compiled contracts/ABIs for deployment/interaction, and just generally make it easier to work with a local project.

Might look something like:

let package = ethpm::package::from_manifest(maniffest_filename);
let contract_a = package.deploy('MyContractName'); // Deploy and return contract reference
let contract_b = package.get('MyContractName', contract_a.address); // Deployed contract
fubuloubu commented 5 years ago

Created: https://github.com/ethpm/ethpm-rs