scr-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.31 • Public • Published

Install

Install using npm install simple-web3-sdk

Dev

  1. npm install
  2. in the project root run npm run build or npm run build-win. This will make the dist file which is actually used as a package.
  3. in the project root run npm link
  4. go to the project root where you'll be testing this
  5. run npm link simple-web3-sdk (this creates a symbolic link in node_modules to this repo so it can be tested without deploying)
  6. your test app will likely need to be ejected so you can modify webpack.config.js, make sure alias has this in it.
  7. the /distfolder is what is actually used, so you need to npm run build to 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)

Readme

Keywords

Package Sidebar

Install

npm i scr-sdk

Weekly Downloads

0

Version

0.0.31

License

none

Unpacked Size

267 kB

Total Files

13

Last publish

Collaborators

  • dosta
  • cookbookdev