PREFACE: Hello to Damien and the OpenZeppelin team. I haven’t seen you since we met at the Smackathon contest in Miami back in 2019. I hope you are doing well!
I’ve been away from Eth coding for a while. I’m starting up again. My old environment consisted of using Truffle for development along with the zos-cli environment and Basil. I see know that OpenZeppelin is at version 3.4.0. I did a fresh npm install of the OpenZeppelin library on my Ubntu 14.04 box using the command shown in the current docs:
npm install --global @openzeppelin/cli
But when I type *openzeppelin --version" at the command line I still see version 2.8.2:
$ openzeppelin --version
2.8.2
Is this a repository issue or npm issue? How do I get the latest 3.4.0 version of OpenZeppelin running on my PC?
Also, I see that the new vehicle for using OpenZeppelin is Truffle plugins. Can anyone tell me the quick-start steps to migrate from the old way of using OpenZeppelin (zos-cli) to the new method of using plugins? Are there any clean-up or uninstall operations I should do first to avoid conflicts? I am worried that I will end up using the old ZOS contract library by accident, and I see that there have been several important fixes, including the now fixed problem of ZOS returning a zero address when an error occurred:
My main question is what doc should I now follow to use the new toolkit to compile and deploy Solidity contracts using Truffle with the new ZOS plugins?