Skip to content

blockchain-sonar/wallet

Repository files navigation

Free TON Wallet

Preconditions: Flutter SDK (2.2.1), Dart (2.13.1), NodeJS

git submodule update --init && (cd submodule/wallet.platform.web/ && npm install && npm run build)
ln -sf index-webapp-devel.html web/index.html
flutter run --device-id chrome

Builds

Chrome Extenstion

rm -rf .dart_tool/ build/
git submodule update --init && (cd submodule/wallet.platform.web/ && npm install && npm run build)
rm web/index.html web/index-webapp.html web/index-webapp-devel.html web/freeton_wallet_platform.devel.js web/manifest-webapp.json
mv web/index-extenstion.html web/index.html
mv web/manifest-extension.json web/manifest.json
flutter build web --web-renderer html --release
cd build/web
zip -r ../../freeton-wallet-chrome-extenstion.zip *

Getting Started

Minimal Knowledge Check List

To develop this project you have to had minimal knowledge:

TON Client

There are two third-patries web/tonclient.js and web/tonclient.wasm comming from ton-client-js.

To update these files execute following (on Linux):

curl --verbose http://sdkbinaries-ws.tonlabs.io/tonclient_0_wasm.gz | tee >(sha1sum > web/tonclient.wasm.gz.sha1) | gunzip | tee >(sha1sum > web/tonclient.wasm.sha1) > web/tonclient.wasm
curl --verbose http://sdkbinaries-ws.tonlabs.io/tonclient_0_wasm_js.gz | tee >(sha1sum > web/tonclient.js.gz.sha1) | gunzip | tee >(sha1sum > web/tonclient.js.sha1) > web/tonclient.js

References