Migration from v1.2 to v2.0
Breaking Changes
TLDR:
In your project run:
npm i etherlime-libWherever you have require('etherlime') you now need to change to require('etherlime-lib'). You can safely uninstall your project version of etherlime npm uninstall etherlime.
Note: Do reinstall the global CLI version of etherlime: npm uninstall -g etherlime, npm install -g etherlime
Installing v2.0
Installing the CLI:
npm i -g etherlimeThis command in v2.0 will install only the etherlime CLI - (command line interface) library. You can use all the CLI commands.
Installing the LIB:
npm i etherlime-libThis command will install only etherlime LIB . You can use LIB to deploy, instantiate or test smart contracts.
Deploying in v1.2
Deploying in v1.2 is as follows:
Example:
Please note that here etherlime is required as etherlime.
Deploying in v2.0
Deploying in v2.0 is as follows using Etherlime LIB.
Example:
Please note that here etherlime is required as etherlime-lib.
Testing Smart Contracts v1.2
Please note that here etherlime is required as etherlime.
Testing Smart Contracts v2.0
Please note that here etherlime is required as etherlime-lib.
Last updated
Was this helpful?