Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jtaaa/solana-signature-testing


https://github.com/jtaaa/solana-signature-testing

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Important notes:

1. The version of "@solana/web3.js" required is "1.66.2". Signatures produced are different for higher versions.
2. Validity of transaction (regardless of signature) is constrained by recentBlockhash. So a valid signature may still produce a failure on-chain.

Testing:

```
yarn sign 0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200091747d860275b87773338b1b8ccbb249c523e7db4708d6eb35ca107a61ce498c4581b0c166eb2ef4ef0dbff195ebf4c6bc3d90512d98a8b50be3302c3146f7408470388de73872c1bf87074c33cce217144ea3525c95407272bf6a8784c2d166a212989d6a9ff6b2a168b81bed69f59efcb8172a8c663a80112cce020c86145700b46a2032dc55154b4f1cbedcce82a1662718d6d417be9c3bb50609d3b167b9b8d49c5e99524f07898034804274203258b3165710477bd5762d3d2d93ad0a4c3bf55197ef2502b9707bb8455151c49c9bacaabc9d1e3ec578994d38225dd9443e5736fc48d12def6a316c4a28f340f33a6133c07a3044abb71fd07b52eac169a0b769563c8eee3d01079043e54d3518b6898afd7501fe979d68c290a1fb63b0deea6c10bb66eabaa6aa6e6ae65d93123ec051874712abd4a4561f72f1208abd166b0045979686dc8fb6b822e8cbf42ec904f493ca6c0833e56d55d6051c62d594cd8e733d3b7ff212187cee27f0497c920dfd955fd79978875ea233f1d1b3b76c3e8170eef50a6a7b91cea6c8c0000a2184e3bc9cbfe8d7dc3593cc9be838d18fef00911b35c05e672238036a7be348b4489db22f0e36e3e98815de7eb3d57e4870000000000000000000000000000000000000000000000000000000000000000069b8857feab8184fb687f634618c035dac439dc1aeb3b5598a0f0000000000106a7d517192c5c51218cc94c3d4af17f58daee089ba1fd44e3dbd98a0000000006ddf6e1d765a193d9cbe146ceeb79ac1cb485ed5f5b37913a8cf5857eff00a90a6593863cba461564eae41373721546eb0151c9308276bbd4ad2a1c3a42107b2f8a9e0fcbe91a868053e9aff799e2e753a0742f5691fa96395ea8161935b6668c97258f4e2489f1bb3d1029148e0d830b5a1399daff1084048e7bd8dbe9f85998fcabb7d0ee0001c25423418097c5cfd16abbc9f6bd94fe068e765389c7bf89f4245e977593125fb15941b6c0a9260af4438bcd10355292a40b05df87f5d520ce951cc7d516b8e7ca534378e04aa7ad6cf407e7ec4d26233e52f308a1eac56509120b000001060f010305110e1011f223c68952e1f2b6ff8096980000000000120e00000e0f0413060103050b110e101a66063d1201daebeaffff809698000000000001000000000000000e0200050c0200000030b30d000000000011020a00010511020a0001051205010105030e10b3d0be9a20b3133b60661b00000000000e0201000c0200000030b30d00000000000e02010c0c0200000030b30d00000000001217000c0415130f060c0a010305070b0208110e141610090d1b254ad99d4f312306fffeff80969800000000000100000000000000 3Tab1f9H2SdJ1LeA7jj8Qo3LSr5xq6uQKwSALex65htACC5npyqg3s2uTsbMm5TfrmCmLfhBB7wMCMgsmQKtcqz7
```

should produce result

```
4e871a492b63a766bdeba6f05eb2b614285703df0d8674bdc33ad86e310d1c1c659f2229fcb4752820ae8cd62276cf3dd4c953859f9c22a836aef760cb67f908
```