Commit e7fc3e9
committed
feat: update SDK with batched methods + 27 unit tests
SDK updates:
- postTask: batched init+delegate (1 tx instead of 2)
- stakeAndProve: batched lockStake+submitProof (1 tx)
- settleAndArchive: batched settleJob+archiveSettlement (1 tx)
- archiveSettlement: standalone archive method
- compressFinishedJob: ZK compression method
Tests (27 passing):
- constructor, postTask batching, bid, lockStake, stakeAndProve
- submitProof, settle, settleAndArchive, compressFinishedJob
- storeCredential, encrypt/decrypt roundtrip, getBalance
- airdrop, searchTasks, getTask, deadline parsing1 parent 0a1f04c commit e7fc3e9
4 files changed
Lines changed: 1951 additions & 66 deletions
0 commit comments