For smart contract development, what is the difference between Openzeppelin SDK and Truffle? When should I use one or another, or both together?
Keeping things simple:
Truffle is a setup tool you can use to develop smart contracts, but doesn't touch Solidity code at all. It is like Cargo to Rust or npm/yarn to NodeJS.
OpenZeppelin is a well-tested set of libraries written in Solidity that you can import to your smart contracts while code is potentially being generated, maintained and deployed by truffle.
OpenZeppelin Contracts: library of SmartContracts, that can be inherited and used to develop upon;
OpenZeppelin SDK: is former ZeppelinOS, it is SDK to help development process;
Truffle SDK: is well-known SDK to help development process as well. Besides SDK Truffle has other great projects as Ganache.
Spend some time to read documentation - it is very clear documented.
PS: ZeppelinOS was first SDK, that allowed to develop Upgradable Smart Contracts - really cool (https://medium.com/coinmonks/how-to-create-an-upgradeable-smart-contract-using-openzeppelin-sdk-example-of-fixing-smart-260dfbfd5bae)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With