
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@eversdk/lib-web
Advanced tools
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).
docker pull tonlabs/build-tonclient-wasm
Change your current location to ever-sdk-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 ever-sdk-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
docker exec -ti build-tonclient-wasm "build-tonclient-wasm.sh"
After successful build process, binaries will be located here
ever-sdk-js/packages/lib-web/index.js
ever-sdk-js/packages/lib-web/eversdk.wasm
Compressed
ever-sdk-js/packages/lib-web/publish/eversdk_1_31_wasm.gz
ever-sdk-js/packages/lib-web/publish/eversdk_1_31_wasm_js.gz
[1.44.0] – 2023-07-12
tc_request_sync
.abi::encode_internal_message
, abi::attach_signature_to_message_body
, abi::attach_signature
,
abi::decode_message
, abi::decode_message_body
, abi::decode_account_data
,
abi::update_initial_data
, abi::encode_initial_data
, abi::decode_initial_data
,
abi::decode_boc
, abi::encode_boc
, boc::decode_tvc
, boc::parse_message
, boc::parse_transaction
,
boc::parse_account
, boc::parse_block
, boc::parse_shardstate
, boc::get_blockchain_config
,
boc::get_boc_hash
, boc::get_code_from_tvc
, boc::cache_get
, boc::cache_set
, boc::cache_unpin
,
boc::encode_boc
, boc::get_code_salt
, boc::set_code_salt
, boc::decode_state_init
, boc::encode_state_init
,
boc::encode_external_in_message
, boc::get_compiler_version
, processing::monitor_messages
,
processing::get_monitor_info
, processing::cancel_monitor
modules.ts
produces _sync
wrapper for all API functions._sync
version for each SDK function.
So SDK can be used in utility scripts in sync manner.
Not all bindings are support sync calls.
The only binding that supports sync calls is the lib-node
.
Example:
const sdk = new TonClient();
console.log(sdk.client.version_sync().version);
console.log(sdk.net.query_sync("query{info{version}}"));
FAQs
TON Client WASM module for browsers
The npm package @eversdk/lib-web receives a total of 30 weekly downloads. As such, @eversdk/lib-web popularity was classified as not popular.
We found that @eversdk/lib-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.