Skip to content

This is a facade library that implements Web platform bindings for the Free TON Wallet application

License

Notifications You must be signed in to change notification settings

blockchain-sonar/wallet.platform.web

Repository files navigation

Free TON Wallet Web Platform Binding

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:

The interfaces exposed on global window object like:

window["freeton_wallet_platform"] = Object.freeze({
	version: __VERSION__,
	TONClientFacade: TONClientFacade,
	...
});

How To

  1. Build
    $ git clone https://github.com/freeton-wallet/wallet.platform.web.git
    $ cd wallet.platform.web
    $ npm install
    $ npm run build
  2. 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
  3. Load library in your web application
    <!DOCTYPE html>
    <html>
    ...
    <body>
    	...
    	<script src="freeton_wallet_platform.js" type="application/javascript"></script>
    	...
    </body>

Find Us

About

This is a facade library that implements Web platform bindings for the Free TON Wallet application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published