https://github.com/elastos/elastos.trinity.plugins.wallet
https://github.com/elastos/elastos.trinity.plugins.wallet
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/elastos/elastos.trinity.plugins.wallet
- Owner: elastos
- Created: 2019-03-14T07:24:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T08:21:56.000Z (over 3 years ago)
- Last Synced: 2025-02-12T20:38:58.185Z (4 months ago)
- Language: Objective-C++
- Size: 242 KB
- Stars: 0
- Watchers: 31
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elastos-trinity-plugins-wallet
This plugin defines a global `cordova.walletManager` object, which provides an API for wallet library.
Although in the global scope, it is not available until after the `deviceready` event.
```js
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(walletManager);
}
```
---## Installation
The plugins field of dapp manifest.json adds Wallet values, such as "plugins": ["XXXX", "Wallet", "XXXX"]
## Supported Platforms
- Android
- iOS