This is a facade library to be used in the Web Browsers.
NOTE: The library include Web Assebly tonclient.wasm provided by TON Labs.
The library provides several Dart/Flutter interop friendly interfaces:
- TONClientFacade - a wrapper over TON Javascript Web SDK https://www.npmjs.com/package/ton-client-web-js
- TBD
The interfaces exposed on global window
object like:
window["freeton_wallet_platform"] = Object.freeze({
version: __VERSION__,
TONClientFacade: TONClientFacade,
...
});
- Build
$ git clone https://github.com/freeton-wallet/wallet.platform.web.git $ cd wallet.platform.web $ npm install $ npm run build
- Check for result
$ tree .dist/ .dist/ ├── freeton_wallet_platform.devel.js ├── freeton_wallet_platform.js ├── freeton_wallet_platform.js.LICENSE.txt └── tonclient.wasm 0 directories, 4 files
- Load library in your web application
<!DOCTYPE html> <html> ... <body> ... <script src="freeton_wallet_platform.js" type="application/javascript"></script> ... </body>
- Web https://www.freeton-wallet.org/
- GitHub https://github.com/freeton-wallet
- Telegram Updates https://t.me/orgfreetonwalletupdates
- Telegram Support https://t.me/orgfreetonwallet