#tetcoin #framework #blockchain #crypto

node-browser-testing

Tests for the in-browser light client

Show the crate…

1 stable release

2.0.0 Apr 5, 2021
0.0.0 Mar 4, 2021

#147 in #tetcoin

Apache-2.0 and GPL-3.0-or-later…

1MB
2K SLoC

Tetcore · GitHub license PRs Welcome

appveyor Rust - Debug Build Rust - Release Build

🚀 Tetcore enables the rapid prototyping of blockchains built for any purpose.

Trying it out

Simply go to core.tetcoin.org and follow the installation instructions. You can also try out one of the tutorials.

Contributions & Code of Conduct

Please follow the contributions guidelines as outlined in docs/CONTRIBUTING.adoc. In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.

Security

The security policy and procedures can be found in docs/SECURITY.md.

License

The reason for the split-licensing is to ensure that for the vast majority of teams using Tetcore to create feature-chains, then all changes can be made entirely in Apache2-licensed code, allowing teams full freedom over what and how they release and giving licensing clarity to commercial teams.

In the interests of the community, we require any deeper improvements made to Tetcore's core logic (e.g. Tetcore's internal consensus, crypto or database code) to be contributed back so everyone can benefit.


lib.rs:

Running

Running this test can be done with

wasm-pack test --firefox --release --headless bin/node/browser-testing

or (without wasm-pack)

CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-bindgen-test-runner WASM_BINDGEN_TEST_TIMEOUT=60 cargo test --target wasm32-unknown-unknown

For debug infomation, such as the informant, run without the --headless flag and open a browser to the url that wasm-pack test outputs. For more infomation see https://rustwasm.github.io/docs/wasm-pack/.

Dependencies

~98MB
~2M SLoC