Commit Graph

186 Commits

Author SHA1 Message Date
Pierre 4451779036
ts: Add array to ts IdlType (#697) 2021-09-08 09:04:12 -07:00
xjcaa 7e7e866bb2
ts: Fix event listener and add multiple event test (#631) 2021-08-23 11:56:23 -07:00
Armani Ferrante 715200d053
ts: Add deprecated annotation to associated functions (#627) 2021-08-22 18:22:40 -07:00
Armani Ferrante 3be29425ac
ts: Add associated client code (#626) 2021-08-20 11:39:07 -07:00
xjcaa 84a2b8200c
ts: Fix typo (#621) 2021-08-18 10:35:29 -07:00
Armani Ferrante 6e55078ff3
lang, ts, examples: Remove associated keyword (#612) 2021-08-15 16:35:53 -07:00
Armani Ferrante 73dc612b7c
ts: Export EventParser (#591) 2021-08-08 18:50:34 -07:00
Kirill Fomichev ceb80b0a04
lang: Dynamically fetch rent sysvar for when using `init` (#588) 2021-08-08 13:20:26 -07:00
Armani Ferrante 3248481288
cli: Anchor registry publishing (#570) 2021-08-08 02:11:48 -07:00
Armani Ferrante 4e7790eacf
ts: Fix accounts iterable (#573) 2021-08-03 16:47:11 -07:00
Armani Ferrante 21cc98517a
ts: Fix undefined iterable (#571) 2021-08-03 16:13:31 -07:00
Kirill Fomichev ad075ceb56
ts: Use accounts with types in InstructionCoder (#568) 2021-08-03 13:54:20 -07:00
aac a4a8b6f769
ts: More efficient event subscriptions (#502) 2021-07-29 22:30:00 -07:00
Kirill Fomichev 8dc7bed4ef
ts: Use hex by default for decoding Instruction (#547) 2021-07-24 10:59:12 -07:00
Armani Ferrante 2c80042ef5
ts, travis: Run prettier (#525) 2021-07-17 17:56:42 -07:00
aac ab49478259
ts: Check if execution context stack is empty in event parser (#524) 2021-07-16 09:56:49 -07:00
Standaa dac6b17866
ts: Fix event listener not firing when creating associated accounts (#397) 2021-07-09 11:46:22 -07:00
Chris Heaney 5866c886dd
ts: Add Event import (#471) 2021-07-04 11:07:53 -07:00
Kirill Fomichev 2d974604ae
lang: Remove belongs_to in favor of has_one (#459) 2021-07-03 11:58:23 -07:00
Armani Ferrante 915e6dd398
lang, ts: Fallback functions (#457) 2021-07-02 17:33:48 -07:00
Armani Ferrante 6ad68ed368
lang, ts: Add deprecated state address feature flag (#446) 2021-07-02 16:53:22 -07:00
Armani Ferrante b1dabe8c12
ts: Export AccountsCoder (#439) 2021-06-29 08:35:33 -07:00
John Rees a7f6af2cc6
ts: Import node modules if not browser (#436) 2021-06-28 13:31:41 -07:00
Armani Ferrante f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
aac e5b3f0aa06
ts: Fix uncaught base64 log error (#423) 2021-06-26 19:49:22 -07:00
Rad 619015d2ed
ts: Refactor workspace loading (#407) 2021-06-17 22:20:40 -07:00
John Rees e11b4ae790
ts: Enable the use of workspaces in electron projects (#380) 2021-06-12 16:02:50 -07:00
Armani Ferrante 899e9e53d1
ts: Add ignore for nested account (#377) 2021-06-10 21:48:27 -07:00
Armani Ferrante 50b000542c
ts: Scope fields when formatting nested instruction accounts (#376) 2021-06-10 21:39:50 -07:00
Armani Ferrante 278d87e402
ts: Add instruction decode api (#372) 2021-06-10 19:25:02 -07:00
Armani Ferrante df51a27a48
lang, ts: Account close constraint (#371) 2021-06-09 15:40:43 -07:00
Armani Ferrante ba99c9c920
lang: Framework defined error codes (#354) 2021-06-09 13:02:50 -07:00
Jesse Y. Cho d16cbe3a71
ts: Fix a typo in docstring (#358) 2021-06-07 01:53:38 +08:00
John Rees d187dc5be9
docs: Fix a couple of typos in ts comments (#345) 2021-05-31 10:43:54 -07:00
Armani Ferrante 062b9257c3
ts: Remove deprecated Transaction.setSigners api (#332) 2021-05-27 13:03:08 -07:00
Armani Ferrante 631cb97b83
ts: Move default provider functions (#331) 2021-05-27 11:29:46 -07:00
Armani Ferrante 617d10aef2
ts: Add bytes to utils namespace (#330) 2021-05-26 23:55:21 -07:00
Armani Ferrante 2f780e0d27
ts: Reorganize program namespaces into well typed elements (#322) 2021-05-25 20:04:05 -07:00
Armani Ferrante e1229362bc
lang, ts: Namespace state discriminator (#320) 2021-05-25 14:50:12 -07:00
Armani Ferrante 21fc2d15f4
lang, ts: Consistent domain delimiters (#321) 2021-05-25 11:26:12 -07:00
Armani Ferrante 5b807d7804
ts: Make workspace metadata optional (#310) 2021-05-23 17:06:39 -07:00
Armani Ferrante 78d773a6de
ts, cli: Overrideable workspace program addresses (#308) 2021-05-23 13:57:55 -07:00
Armani Ferrante 8fa867fbd6
ts: Pubkeys as base58 strings (#304) 2021-05-23 09:58:15 -07:00
Armani Ferrante 3a9d05991e
ts: Provide event names when decoding log strs (#297) 2021-05-20 13:14:46 -07:00
Armani Ferrante 24b723e1e1
ts: Event decode api updates (#292) 2021-05-20 02:28:27 -07:00
Armani Ferrante 364f957c9a
ts: Use Signer instead of Keypair (#296) 2021-05-20 02:26:32 -07:00
Armani Ferrante b652f5f940
ts: Fix local provider config (#286) 2021-05-19 13:26:09 -07:00
Armani Ferrante a73c39bbef
ts: i8, i16, and i32 coding (#282) 2021-05-15 15:21:16 -07:00
John Rees ead60e2fc4
ts: Replace deprecated web3.Account with web3.Keypair (#274) 2021-05-15 14:43:25 -07:00
Armani Ferrante e4a1b3cb52
ts: Assign namespaces correctly (#272) 2021-05-10 15:14:56 -07:00
Armani Ferrante 01cacfe0a2
ts: Setup typedoc (#271) 2021-05-10 13:12:20 -07:00
Armani Ferrante 9b446dbae1
ts: Add program simulate namespace (#266) 2021-05-08 21:31:55 -07:00
Armani Ferrante 06b40b7811
ts: Refactor (#265) 2021-05-08 14:52:26 -07:00
Armani Ferrante 851720eb0f
ts: Add support for u16 (#255) 2021-05-07 11:20:15 -07:00
Armani Ferrante b6afb30474
lang: Zero copy deserialization (#202) 2021-04-17 12:07:48 -07:00
Armani Ferrante b498b99f96
lang: Associated program account attributes (#186) 2021-04-13 11:47:54 -07:00
armaniferrante 6576e0d7ff
ts, examples: Fix web3.js usage 2021-03-30 20:19:05 -07:00
Armani Ferrante 3cbc227491
Events (#89) 2021-03-24 20:19:29 -07:00
Armani Ferrante 4c5771d008
lang, cli: Idl write buffers (#107) 2021-03-12 12:43:26 -08:00
Armani Ferrante 734c751882
ts: Export sighash coder 2021-03-05 20:15:21 +08:00
NorbertBodziony b1f8dde5aa
Fix unsubscribe wrong address (#90) 2021-02-20 00:52:52 +08:00
NorbertBodziony 1ae8b52760
fix State type (#88) 2021-02-18 00:02:48 +08:00
Armani Ferrante cf9c847e41
ts: Pass instructions to state rpcs 2021-02-14 21:12:23 +08:00
Armani Ferrante c67dabd1f9
Add support for u128 and i128 (#83) 2021-02-11 13:24:29 +08:00
Armani Ferrante 627c275e9c
ts: Add instruction method to state namespace 2021-02-11 00:12:29 +08:00
Armani Ferrante 1f31770c83
Program interfaces 2021-02-08 12:54:52 +08:00
Armani Ferrante 48b27e6943
Migrate to sighash based method dispatch (#64) 2021-02-06 16:28:33 +08:00
Armani Ferrante 9825710c8f
Explicit CLI commands 2021-01-31 00:59:26 -08:00
Armani Ferrante 772edde073
Store IDL at deterministic account address (#49) 2021-01-29 06:20:30 -08:00
Armani Ferrante 930aa1d9f6
Changes for a functioning lockup/stake UI (#46) 2021-01-27 19:31:15 -08:00
Armani Ferrante ef23756978
State struct instructions 2021-01-23 07:40:31 -08:00
Armani Ferrante e8efd04412
Program ctor functions and state structs (#33) 2021-01-22 03:35:57 -08:00
Armani Ferrante c9ae5eb0ef Lockup and staking examples (#28) 2021-01-20 17:13:29 -08:00
Armani Ferrante e636cf9721 Error handling 2021-01-20 17:13:29 -08:00
Armani Ferrante 34a3474663
Composable Accounts derivations (#21) 2021-01-14 22:35:50 -08:00
Armani Ferrante de353cb4e4
Account discriminators (#14) 2021-01-09 22:03:14 -08:00
armaniferrante ce6d647fdf
Run prettier 2021-01-04 23:59:52 -08:00
armaniferrante e5ab0684f8
Finish tutorial-1 draft 2021-01-04 18:37:10 -08:00
Armani Ferrante 9570830b65
Workspaces 2021-01-04 11:47:22 -08:00
armaniferrante 322c9bb548
Documentation and tutorials init 2021-01-02 16:24:35 -08:00
armaniferrante c2d2041759
E2E tests for custom types and options 2021-01-01 23:01:31 -08:00
armaniferrante cbe06afc99
Basic example working e2e 2021-01-01 21:53:35 -08:00
armaniferrante 7f9a521d30
Run prettier 2021-01-01 15:54:10 -08:00
armaniferrante 263f0a223c
Accounts dynamically attached to program client 2021-01-01 15:10:26 -08:00
armaniferrante 4d42da0146
Instruction and rpc functions dynamically attached to program 2021-01-01 13:58:20 -08:00
armaniferrante 840c38d8c1
Start typescript client generation 2020-12-31 17:54:51 -08:00