sCrypt-Inc / scryptTS-examples

Examples of using scryptTS
https://scrypt.io/scryptTS
11 stars 5 forks source link

switch to signer & provider #38

Closed xhliu closed 1 year ago

xhliu commented 1 year ago

Here and everywhere. Testnet test already uses signer. https://github.com/sCrypt-Inc/scryptTS-examples/blob/84f25ea841951451cd92ebd09ea26b9c566873c0/tests/local/p2pkh.test.ts#L52

Compare https://github.com/sCrypt-Inc/scryptTS-examples/blob/master/tests/testnet/p2pkh.ts with the latest https://github.com/sCrypt-Inc/scrypt-ts/blob/master/test/testnet/p2pkh.ts Write using the later syntax. Plus, add detailed comments.