New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tonclient/lib-web

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tonclient/lib-web

TON Client WASM module for browsers

latest
Source
npmnpm
Version
1.30.0
Version published
Maintainers
1
Created
Source

Building ton-client-js WASM inside docker

To build WASM you need clang v8. Use this workaround if you encounter a problem when building wasm binaries on your platform (MacOSX or Windows).

Pulling build image

docker pull tonlabs/build-tonclient-wasm

Change your current location to ton-client-js project. It is important because the next command will use this location to mount the volume with source code inside the docker container with build environment.

cd ton-client-js

Run build container in background. First attempt will take a long time.

docker run -v $(pwd):/tonlabs/TON-SDK --name build-tonclient-wasm -dt build-tonclient-wasm tail -f /dev/null

Build WASM

docker exec -ti build-tonclient-wasm "build-tonclient-wasm.sh"

Location of binaries

After successful build process, binaries will be located here

ton-client-js/packages/lib-web/index.js
ton-client-js/packages/lib-web/tonclient.wasm
Compressed
ton-client-js/packages/lib-web/publish/tonclient_1_20_wasm.gz
ton-client-js/packages/lib-web/publish/tonclient_1_20_wasm_js.gz

Keywords

TON

FAQs

Package last updated on 05 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts