0.0.31 • Published 3 years ago
scr-sdk v0.0.31
Install
Install using npm install simple-web3-sdk
Dev
- npm install
- in the project root run
npm run buildornpm run build-win. This will make the dist file which is actually used as a package. - in the project root run
npm link - go to the project root where you'll be testing this
- run
npm link simple-web3-sdk(this creates a symbolic link in node_modules to this repo so it can be tested without deploying) - your test app will likely need to be ejected so you can modify
webpack.config.js, make sure alias has this in it. - the
/distfolder is what is actually used, so you need tonpm run buildto reflect changes made
alias: {
react: path.resolve("./node_modules/react"),otherwise the two separate versions of react will confuse each other. Meaning hooks don't work at all (https://github.com/facebook/react/issues/13991)
0.0.31
3 years ago