L3odr0id f84461a7d2 wip | il y a 1 mois | |
---|---|---|
.. | ||
.yarn | il y a 2 ans | |
src | il y a 1 mois | |
test | il y a 10 mois | |
.gitignore | il y a 1 an | |
.yarnrc | il y a 2 ans | |
.yarnrc.yml | il y a 2 ans | |
LICENSE | il y a 4 ans | |
README.md | il y a 2 ans | |
babel.config.js | il y a 1 an | |
package-lock.json | il y a 1 mois | |
package.json | il y a 1 mois | |
tsconfig.json | il y a 1 an | |
webpack.config.js | il y a 1 an | |
yarn.lock | il y a 1 mois |
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.