From: Chris Duncan Date: Sat, 11 Jan 2025 07:13:48 +0000 (-0800) Subject: Document global namespace option in README. X-Git-Tag: v1.0.0~6 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=11869c22292e769db91836af8dd5077d1e6882c6;p=nano-pow.git Document global namespace option in README. --- diff --git a/README.md b/README.md index 81fb873..64c1591 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ const workGpu = await NanoPowGpu.search(hash, threshold) const workGl = await NanoPowGl.search(hash, threshold) ``` +You may also embed it in the global namespace by targeting `dist/global.min.js` + ## Notes The `work` field in a Nano transaction block contains an 8-byte nonce that satisfies the following equation: