diff --git a/docs/tutorials/hello-world.md b/docs/tutorials/hello-world.md index 31efb29f3..4dba86d53 100644 --- a/docs/tutorials/hello-world.md +++ b/docs/tutorials/hello-world.md @@ -103,6 +103,9 @@ import { toByteString, sha256 } from 'scrypt-ts' (async () => { + // set network env + process.env.NETWORK = 'testnet' + const message = toByteString('hello world', true) await Helloworld.loadArtifact()