@sudoplatform/sudo-ad-tracker-blocker

Ad/Tracker Blocker SDK

Pre-reqs

  1. Node JS v16.16+
  2. Yarn 1.22+
  3. Rust 1.65 (Must be this version)
  4. Wasm Pack

Installing Rust and wasm-pack:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup default 1.65
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Building

yarn install
yarn build
yarn verify

System Tests

System tests run against a live environment and use the built libary from lib/.

  1. Download SDK Config from Admin Console and save it in config/sudoplatformconfig.json
  2. Download TEST registration key from Admin Console and save it in config/register_key.private.
  3. Create a file config/register_key.id with the TEST registration key ID in it.
  4. yarn build
  5. yarn test:system

Generated using TypeDoc