L3odr0id 45564145bc fix: set right method 3 hónapja
..
.devcontainer cb849db39e Local building stuff 1 éve
.yarn a9adb9eba7 yarn 1.x to 3.x migration 2 éve
src 45564145bc fix: set right method 3 hónapja
test b961738646 add EVM api tests 2 éve
.gitignore a9adb9eba7 yarn 1.x to 3.x migration 2 éve
.yarnrc a9adb9eba7 yarn 1.x to 3.x migration 2 éve
.yarnrc.yml a9adb9eba7 yarn 1.x to 3.x migration 2 éve
LICENSE 0b7d01a251 remove submodule js_api 4 éve
README.md b38fb83751 bump polkadot-js/api v7.9.1 2 éve
babel.config.js 2beab7fed5 js code fallback fix 2 éve
package-lock.json cb849db39e Local building stuff 1 éve
package.json 0d130d7469 Feature: way to handle MsgID 1 éve
tsconfig.json 2beab7fed5 js code fallback fix 2 éve
webpack.config.js 95339f1664 add signTypedData 2 éve
yarn.lock 0d130d7469 Feature: way to handle MsgID 1 éve

README.md

js_api

Wrap @polkadot-js/api to provide APIs for polkawallet/sdk.

@polkadot-js/api: ^7.9.1

build & test

To build:

yarn install
yarn run build

To test: open ./test/index.html in chrome. open chrome dev console and run runTests().then(console.log)

polkadot-js/api hack

  1. remove connectWithRetry() in node_modules/@polkadot/rpc-provider/ws/index.js to avoid auto-connect.
  2. replace value of packageInfo.path in node_modules/@polkadot/api/packageInfo.js to avoid Invalid URL issue in webview.
  3. lock bn.js: 4.12.0 to avoid this issue.