54 Commits

Author SHA1 Message Date
julian
b8200b2f99 fix string length 2023-12-29 16:21:20 -06:00
julian
3e23959e5b small fixes 2023-12-29 15:18:54 -06:00
julian
1b48681ec0 more frees and remove unused functions 2023-12-29 15:01:30 -06:00
julian
31f6202f58 add some more frees 2023-12-29 14:39:45 -06:00
julian
0b69b03004 hash single tag from data 2023-12-29 08:47:00 -06:00
julian
120858ba97 loss of precision fixes 2023-12-21 16:01:03 -06:00
julian
daabdf3389 add spark send fee estimate function 2023-12-21 14:37:41 -06:00
julian
c62ad10247 pass tx hash in correctly 2023-12-21 10:22:23 -06:00
julian
3060d65dbf hash spark tags ffi call 2023-12-20 17:48:03 -06:00
julian
a9698eaf4d cCreateSparkSpendTransaction tweaks 2023-12-20 13:48:41 -06:00
julian
a9567841c7 add validate spark address call with basic tests 2023-12-19 09:12:58 -06:00
julian
2a17a7ba8c pass serialized coins into spark send 2023-12-18 14:07:06 -06:00
julian
a618beb697 WIP mint serial context serialization 2023-12-16 14:35:58 -06:00
julian
1574ed2e29 untested change to add serial context to coin before attempting to id it 2023-12-14 14:54:38 -06:00
julian
0cd581045d various 2023-12-13 10:44:15 -06:00
julian
f216ba7ea5 get coins to spend 2023-12-11 15:21:11 -06:00
julian
e2765a2fca WIP spark spend ffi binding 2023-12-08 12:18:48 -06:00
julian
2b72a36d2e createSparkMintRecipients 2023-12-06 16:55:13 -06:00
julian
f49c91421f ignore the extraneous txhash bytes and add stubs for the spark transaction creation ffi calls 2023-12-06 11:42:33 -06:00
julian
4ba90df1be decode b64 2023-12-05 14:48:55 -06:00
julian
b930e9bed0 various fixes and tweaks 2023-12-05 12:55:38 -06:00
julian
ec56450514 return null early if null 2023-12-05 08:23:49 -06:00
julian
5c6a10195f WIP id and recover spark coin 2023-12-04 13:21:25 -06:00
julian
3ae2cf44ce rename 2023-12-04 08:40:23 -06:00
julian
66f1ed5afb WIP id and recover coin setup from the dart side 2023-12-03 16:41:28 -06:00
julian
891ae31712 deserialize spark::Coin 2023-12-03 15:56:10 -06:00
julian
6651960a17 ffi gen fixes 2023-12-01 15:05:29 -06:00
Julian
2e0f380366 clean up 2023-11-30 15:12:20 -06:00
Julian
2f4e9e54ac be specific on hex to bytes extension method 2023-11-30 10:36:14 -06:00
julian
17b3fe5ae9 clean up 2023-11-28 16:26:18 -06:00
julian
8d9c2cbe96 migrate to ffi plugin 2023-11-28 15:52:26 -06:00
sneurlax
4336e1bc0e update bindings IAW sparkmobile changes 2023-11-28 15:04:06 -06:00
julian
b76033ffca Simplify lib api and clean up duplicate code 2023-11-28 09:50:21 -06:00
sneurlax
1ae8d15c3c add WIP createSparkMintRecipients wrapper 2023-11-22 13:27:46 -06:00
sneurlax
3bce5dda71 add CMintedCoinData toFFI, CMintedCoin factory, and test 2023-11-21 18:48:59 -06:00
sneurlax
bc4b51589f add CRecipient<->CCRecipient fromFFI<->toFFI and tests
`cd sparkmobile` and `clear && ./interface bin && bin/interface_test`
2023-11-20 20:56:11 -06:00
sneurlax
8aa61c7a31 add identifyCoin wrapper
TODO test
2023-11-17 16:21:44 -06:00
sneurlax
a022033b03 Revert "upgrade diversifier to a uint64_t"
This reverts commit f1bbbf6975.
2023-11-15 15:29:03 -06:00
sneurlax
f1bbbf6975 upgrade diversifier to a uint64_t 2023-11-15 15:28:57 -06:00
sneurlax
236e4de255 pass isTestnet bool as int 2023-11-09 18:22:26 -06:00
sneurlax
59ab5fa68f validate keyData length (32) 2023-11-09 16:53:18 -06:00
sneurlax
7118a050d3 extensions
wonder if/where I should centralize these...
2023-11-09 16:51:25 -06:00
sneurlax
0ff8c380d2 pass a hex string 2023-11-09 15:04:36 -06:00
sneurlax
875361aa66 malloc Int size 2023-11-09 14:42:29 -06:00
sneurlax
4f1b488cbd Pass a List<int> keyData 2023-11-09 11:46:45 -06:00
sneurlax
656f2f5807 update demo and docs
and ignore bin in sparkmobile submodule
2023-11-08 16:56:19 -06:00
sneurlax
baa8514f21 bind getAddress 2023-11-08 16:28:54 -06:00
sneurlax
51e2aead5c bind createFullViewKey and expand example app 2023-11-07 17:05:03 -06:00
sneurlax
70260b44c8 remove old autogened bindings 2023-11-07 16:04:08 -06:00
sneurlax
6c99a1f300 bind library to dart and demo in app 2023-11-02 15:13:03 -05:00