Openzeppelin-contracts: Better code reuse tools

Created on 14 Sep 2016  Â·  5Comments  Â·  Source: OpenZeppelin/openzeppelin-contracts

Current Solidity code reuse is based on copy-pasting or downloading existing code from other repositories. Mature ecosystems have good code repository management systems such as NodeJS’ npm or Ruby’s gems.
An interesting variation in Ethereum is the possibility of reusing code already deployed to the blockchain. Let's build tools that allow to easily link your contracts to deployed libraries.

Most helpful comment

Any thought about using the in-development https://github.com/ethpm/epm-spec ?

All 5 comments

Let's build tools that allow to easily link your contracts to deployed libraries.

do you mean to provide a list of public library deployed ?

@fonzarely more like an index, and easier tools to link contracts in development to those.

For now Zeppelin is using raw npm, and Truffle Beta's integration with npm, which is not ideal. Moving into the future, we should build better tools, but for now we're OK.

from what i understood @maraoz , you propose an npm equivalent, a library of public contracts available in the blockchain, that it?
or, npm plays bad with Solidity code?
maybe give some details/examples on snags you hit?

npm is good enough for now. Eventually, we'll want better ways to link contracts to already deployed code sitting in the blockchain. Not required for now though IMO, never hit a big need for it

Any thought about using the in-development https://github.com/ethpm/epm-spec ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

valmack picture valmack  Â·  3Comments

frangio picture frangio  Â·  3Comments

sebastien-kr picture sebastien-kr  Â·  4Comments

LogvinovLeon picture LogvinovLeon  Â·  4Comments

rstormsf picture rstormsf  Â·  4Comments