Commit Graph

26 Commits

Author SHA1 Message Date
Justin Starry 3ea23fe736 fix: fix buffer types 2021-03-17 10:26:00 +08:00
Justin Starry f0a8aba2e2 chore: cleanup flow and package.json 2021-02-08 07:57:05 +08:00
Justin Starry 08ff2d12f2 feat: add support for browser es modules 2021-02-08 07:57:05 +08:00
Michael Vines e84a91d417 fix: createProgramAddress now throws on an invalid seed length 2020-10-13 19:01:34 -07:00
Jack May d167feda98
fix: bn clipping in create_program_address (#11951) 2020-08-31 15:02:21 -07:00
Justin Starry 74bf0d8d3b feat: remove hex public key decoding 2020-08-14 22:48:29 +08:00
Hendrik Hofstadt dfd829a2e2 fix: fix createProgramAddress for bundled applications 2020-08-13 11:16:03 +08:00
Jack May 5c4b8153c6
fix: land program addresses off-curve (#11355) 2020-08-06 07:10:54 -07:00
Justin Starry d0f4b24481 fix: remove instanceof checks 2020-07-30 11:44:46 -07:00
Jack May 0579581f8c
feat: getProgramAddress takes bytes rather than strings (#10837) 2020-06-29 17:05:05 -07:00
Jack May a29e088169 feat: add createProgramAddress 2020-06-14 21:57:04 -07:00
Justin Starry 402c160ae9 feat: use crypto-hash instead of hasha 2020-06-14 21:57:04 -07:00
Justin Starry 6a7115b8bd fix: allow Uint8Array and Array<number> where Buffer is accepted 2020-06-14 21:57:04 -07:00
Tyera Eulberg 532b28e96e feat: add stake program methods; refactor instruction type handling 2020-06-14 21:57:04 -07:00
Tyera Eulberg fc77e55920 fix: add PublicKey createWithSeed method 2020-06-14 21:57:04 -07:00
Justin Starry eec8f6184c fix: reject base58 public keys that are too short (#474) 2020-06-14 21:57:04 -07:00
Michael Vines 1d6abb17cf refactor: employ prettier 2020-06-14 21:57:04 -07:00
Michael Vines e50b705de3 fix: remove decimal string support from PublicKey ctor 2020-06-14 21:57:04 -07:00
Michael Vines 96c685eb5d fix: PublicKey.toBuffer() now zero pads correctly 2020-06-14 21:57:04 -07:00
Michael Vines ad2fa3ceaf feat: Add ERC20-like Token 2020-06-14 21:57:04 -07:00
Michael Vines f9cf7006df fix: avoid Buffer(), use Buffer.alloc() instead 2020-06-14 21:57:04 -07:00
Michael Vines 48c3ea8106 docs: correct toBuffer comment 2020-06-14 21:57:04 -07:00
Michael Vines 95efc7c3b0 fix: support creating a PublicKey from a base58 string 2020-06-14 21:57:04 -07:00
Michael Vines e090e7b600 fix: expose Buffer to bundlers 2020-06-14 21:57:04 -07:00
Michael Vines aa1d6ba4d4 fix: zero pad correctly 2020-06-14 21:57:04 -07:00
Michael Vines ca6965f8c2 feat: wrap public key in a class 2020-06-14 21:57:04 -07:00