L3odr0id 6d67ad9158 Some test | 1 year ago | |
---|---|---|
.. | ||
.devcontainer | 1 year ago | |
.yarn | 2 years ago | |
src | 1 year ago | |
test | 1 year ago | |
.gitignore | 2 years ago | |
.yarnrc | 2 years ago | |
.yarnrc.yml | 2 years ago | |
LICENSE | 4 years ago | |
README.md | 2 years ago | |
babel.config.js | 2 years ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago | |
tsconfig.json | 2 years ago | |
webpack.config.js | 2 years ago | |
yarn.lock | 1 year ago |
Wrap @polkadot-js/api
to provide APIs for polkawallet/sdk.
@polkadot-js/api: ^7.9.1
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
hackconnectWithRetry()
in node_modules/@polkadot/rpc-provider/ws/index.js
to avoid auto-connect.packageInfo.path
in node_modules/@polkadot/api/packageInfo.js
to avoid Invalid URL
issue in webview.bn.js: 4.12.0
to avoid this issue.