Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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 ab2d6c9ede test: add .toString() test 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 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