L3odr0id f84461a7d2 wip | 1 maand geleden | |
---|---|---|
.. | ||
.yarn | 2 jaren geleden | |
src | 1 maand geleden | |
test | 10 maanden geleden | |
.gitignore | 1 jaar geleden | |
.yarnrc | 2 jaren geleden | |
.yarnrc.yml | 2 jaren geleden | |
LICENSE | 3 jaren geleden | |
README.md | 2 jaren geleden | |
babel.config.js | 1 jaar geleden | |
package-lock.json | 1 maand geleden | |
package.json | 1 maand geleden | |
tsconfig.json | 1 jaar geleden | |
webpack.config.js | 1 jaar geleden | |
yarn.lock | 1 maand geleden |
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.