sCrypt-Inc / scryptTS-docs

https://docs.scrypt.io
12 stars 8 forks source link

add deploy & call in hello world #68

Closed xhliu closed 1 year ago

xhliu commented 1 year ago

Users may just wanna see the whole workflow, not just the contract. https://scrypt.io/scrypt-ts/tutorials/hello-world

xhliu commented 1 year ago

https://www.web3.university/tracks/create-a-smart-contract/deploy-your-first-smart-contract

xhliu commented 1 year ago

Use the following Hash puzzle contract helloworld as y, not Demo.

@method
public unlock(y: ByteString) {
  assert(this.x == sha256(y))
}
xhliu commented 1 year ago

@zhfnjust

xhliu commented 1 year ago

image image

xhliu commented 1 year ago

Update the link from test to deploy page. image