Closed xhliu closed 1 year ago
https://scrypt.io/scrypt-ts/getting-started/how-to-build-a-contract-tx#customized-call-tx-builder
await Auction.compile() Auction.bindTxBuilder('bid', Auction.bidTxBuilder)
MyContract.bindTxBuilder("unlock", (options, ...args) => {
Options such as in https://scrypt.io/scrypt-ts/getting-started/how-to-test-a-contract#call-a-public-method
Done https://github.com/sCrypt-Inc/scryptTS-examples/commit/cf3ea45a1100a8f3613371d044f892e0b66e3605
https://scrypt.io/scrypt-ts/getting-started/how-to-build-a-contract-tx#customized-call-tx-builder
binding
explain options and args
MyContract.bindTxBuilder("unlock", (options, ...args) => {
Options such as in https://scrypt.io/scrypt-ts/getting-started/how-to-test-a-contract#call-a-public-method
What does this mean?