OpenZeppelin / openzeppelin-sdk

OpenZeppelin SDK repository for CLI and upgrades.js. No longer actively developed.
MIT License
432 stars 200 forks source link

Feature Request: Place OZ proxy contract source code in our projects #1572

Open crazyrabbitLTC opened 4 years ago

crazyrabbitLTC commented 4 years ago

This is a feature request:

When we use OZ proxy contracts, there is a sense of not understanding exactly how the code works. Viewing the underlying solidity that makes the contracts possible would be a big bonus.

When deploying using OZ CLI, would it be possible to create a new folder in our contract directory with the OZ Solidity that powers the upgradability? As well as give us the ABIs? That would be massively helpful.

Thanks!

abcoathup commented 4 years ago

Hi @crazyrabbitLTC ! Thanks for the suggestion, it is really appreciated.

The project owner will review your suggestion as soon as they can.

There is a plan to move the proxy contracts to OpenZeppelin Contracts: https://github.com/OpenZeppelin/openzeppelin-sdk/issues/1528

I have also seen some general request to have OpenZeppelin Contracts easily accessible.

Please wait until we have discussed this idea before writing any code or submitting a Pull Request, so we can go through the design beforehand. We don’t want you to waste your time!

frangio commented 4 years ago

We're considering building something for users to "install" the contracts they want into their source code (rather than node modules). It's an early idea but it's definitely in our minds!