Skip to content

Commit

Permalink
set NETWORK env
Browse files Browse the repository at this point in the history
  • Loading branch information
hh committed Mar 21, 2024
1 parent 3b79c6e commit 4e10872
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/tutorials/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4e10872

Please sign in to comment.