Commit Graph
109 Commits
Author SHA1 Message Date
Foo Bar 4888d75134 [wip] awcp adding message signing, sidekick version bump 2022-11-22 17:48:29 -07:00
Foo Bar 9d453d87d8 jex get_mindist command done 2022-11-21 21:37:41 -07:00
Foo Bar a013be547a add jex install (it works next up: jex get_mindist 2022-11-21 21:19:51 -07:00
Foo Bar 95f9b39293 WIP: add jex fulldist command 2022-11-21 20:41:52 -07:00
Foo Bar 8959f06b63 [wip] documentation generation/serving 2022-11-21 11:49:03 -07:00
Foo Bar c260c090d9 jex docs push thing command done 2022-11-20 21:25:49 -07:00
pharpend 86d0501b90 [wip] playing around with maybe making tarballs 2022-11-20 19:49:45 -07:00
pharpend 083e159096 add jex mkdocs command 2022-11-20 16:23:53 -07:00
pharpend a3cc4cdddc [wip] add primitive message sign functionality 2022-11-18 18:23:02 -07:00
pharpend 9589adaef8 [wip] various inconsequential changes 2022-11-17 16:01:19 -07:00
pharpend ab2b816f88 [wip] initial vw commit 2022-11-16 15:13:20 -07:00
Craig Everett d4cb2b0107 Accept general chardata as input 2022-11-09 19:35:30 +09:00
Craig Everett f803e66ed3 Added contract_create/3,8 2022-11-09 19:24:41 +09:00
Craig Everett 446cf1b58c WIP: Contract create is still broken (type problem) 2022-11-09 18:47:44 +09:00
Craig Everett 7b0e6a9988 Adding contract_create, along with some minor fixes and additions 2022-11-09 16:42:25 +09:00
pharpend 045384420e tx humanization in erlang prototype 2022-11-08 13:15:23 -07:00
pharpend 900581bc23 [wip] templating vanillae ts tx deconstruction 2022-11-08 09:21:45 -07:00
pharpend 993ae4261b [wip] code cleanups 2022-11-06 12:24:49 -07:00
pharpend 127be10d03 [wip] code cleanups, making style uniform in vanillae ts 2022-11-06 12:20:45 -07:00
pharpend c21a4c42fe [wip] start work on api deconstructor 2022-10-26 08:52:11 -06:00
pharpend 64f9752ee5 wrote an encoder and it worked on the first try. wtf 2022-10-23 20:19:21 -06:00
pharpend 7751e71982 my ts rlp decoder seems to work
i feel like i would have more confidence in my code if i didn't test it
2022-10-23 06:41:19 -06:00
pharpend 2254c82f77 my erl rlp implementation agrees with ethereum python implementation for 59,638 random cases 2022-10-23 04:55:59 -06:00
pharpend 9701993e8b more python cases 2022-10-23 04:49:03 -06:00
pharpend 27eac056eb Generating tests for RLP Erlang (appears to work!)
Methodology:

- in Erlang, generate random DecodeData that are decentish (hard to generate
  because of arbitrary depth recursive nature)
- in Erlang, check that DecodeData->rlp:encode->rlp:decode is an identity (it
  is!)
- generate tons of encode/decode pairs for Python, make sure they all work
  (they do!)
2022-10-23 04:44:07 -06:00
pharpend ebf82a091c fix comment in b58.py 2022-10-23 04:43:56 -06:00
pharpend 3e86f27063 minor cleanups in rlp.erl 2022-10-23 04:43:35 -06:00
Craig Everett 212c9dbbd8 Fixes 2022-10-22 20:09:00 +09:00
pharpend 427583e530 update notes 2022-10-21 20:37:13 -06:00
pharpend b826080c1b wrote an rlp implementation in erlang that seems to work
my current methodology for doing X

- find library that does X in Python with lots of stars on GitHub
- autogenerate test cases against Python library
- do X in Erlang to work out logic in easier setting
- make sure Erlang implementation works
- do X in TypeScript
- make sure TypeScript implementation works
2022-10-21 20:35:01 -06:00
pharpend c5afe1dd20 forgot to add the actual code 2022-10-21 05:57:09 -06:00
pharpend 3a9cd39046 my base58 encoder/decoder worked the first time and I'm scared 2022-10-21 05:54:08 -06:00
pharpend 9f65987ca2 base58 test generation in python 2022-10-21 05:17:04 -06:00
pharpend aa9b8b7339 [wip] add untested base58 encode in ts 2022-10-21 04:47:55 -06:00
pharpend 0e600f0f05 thinking about base58, fix some comments 2022-10-21 03:14:34 -06:00
pharpend c72088075d fix sidekick documentation error 2022-10-20 22:20:42 -06:00
pharpend 039d246d84 base64 encode/decode done and tested 2022-10-20 02:00:27 -06:00
pharpend 90d464040d add more cases 2022-10-19 22:01:29 -06:00
pharpend 584ffff507 it turns out that testing your code is a good idea
I found a bug in my base64 implementation

have started implementing a "test system"
2022-10-19 21:47:46 -06:00
pharpend 0f1a181c08 write out the rest of the encode cases 2022-10-19 03:17:49 -06:00
pharpend 7fe7e1cc2b improvements to vanillae documentation 2022-10-19 01:25:29 -06:00
pharpend 0e95fef840 [wip] start making vanillae js library
It compiles but there's some NYI functions

This is going to have all the common functions that we need all over the place

- base64 encode/decode
- base58 encode/decode
- rlp encode/decode
- transaction types
- transaction formation
- reading stuff from the transaction
- safe type
- (maybe) AWCP

This commit contains a refactored version of my prior base64 implementation,
which is more imperativey and less "trying to fit Erlang into TS".
2022-10-19 01:21:41 -06:00
pharpend ea95e59640 delete makefiles 2022-10-19 01:16:52 -06:00
Craig Everett 9b2aff77d3 Change return type of contract_call/N 2022-10-15 00:06:05 +09:00
pharpend 601ad6baa3 start writing a manual 2022-10-12 18:09:39 -06:00
pharpend a045704a33 add link in readme to npm thing 2022-10-12 01:21:34 -06:00
pharpend fd325e7723 add npm helper doc 2022-10-12 01:20:25 -06:00
pharpend 3367920371 improve sidekick README 2022-10-12 01:19:17 -06:00
pharpend 2d66768951 add jex dwim[-+] commands, and a README 2022-10-12 01:18:35 -06:00
pharpend f8539b5495 update README 2022-10-11 21:21:21 -06:00