Commit Graph

162 Commits

Author SHA1 Message Date
Armani Ferrante b1ef7431ec
lang, spl: Program and Signer types (#705) 2021-09-11 14:43:12 -07:00
Armani Ferrante 526de235d1
lang: `#[account(owner)]` uses pubkey instead of account target (#691) 2021-09-09 14:32:11 -07:00
Armani Ferrante 3958533750
Static owner and program ID checks (#686) 2021-09-07 13:06:15 -07:00
Armani Ferrante 5d8b4765f2
Add /tests dir (#676) 2021-09-04 05:33:39 -07:00
Armani Ferrante 2cc82bc11a
docs: Update tutorials for new init constraint (#670) 2021-09-02 16:29:25 -07:00
Armani Ferrante f4f60d7fab
lang: Move program check to try_from (#660) 2021-09-01 14:53:39 -07:00
Armani Ferrante b6720be3ce
examples: Bump solana-program to 1.7.11 (#654) 2021-08-31 17:27:59 -07:00
Kirill Fomichev 697f585b5b
Update solana to 1.7.11 (#653) 2021-08-31 14:52:41 -07:00
Armani Ferrante 6085eda9df
lang: Sends lamports to payer on init (#648) 2021-08-31 14:43:04 -07:00
Armani Ferrante 75c20856e4
lang: Consistent init constraints (#641) 2021-08-29 14:25:38 -07:00
Armani Ferrante 2604a442fd
lang: Add zero attribute (#513) 2021-08-25 10:27:27 -07:00
skrrb 142728d271
examples: Use @solana/spl-token in ido-pool test (#636) 2021-08-25 06:04:33 -07:00
xjcaa 7e7e866bb2
ts: Fix event listener and add multiple event test (#631) 2021-08-23 11:56:23 -07:00
vicyyn 541dbfbe37
examples: Tictactoe (#609) 2021-08-18 23:50:50 -07:00
Armani Ferrante 6e55078ff3
lang, ts, examples: Remove associated keyword (#612) 2021-08-15 16:35:53 -07:00
Armani Ferrante 941e439429
examples: Fix token init (#610) 2021-08-15 00:20:00 -07:00
Henry-E fef207dc83
lang, examples: Add mint initialization constraints (#562) 2021-08-14 18:18:28 -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
Zorro 098c2a0048
travis, examples: Add permissioned markets (#584) 2021-08-06 15:09:18 -07:00
Haik Dulgarian 9ed18dc888
examples: Fix typos (#564) 2021-08-06 12:52:54 -07:00
Zorro b7188b9b3e
examples: Fix small typo (#583) 2021-08-06 12:37:46 -07:00
Kirill Fomichev f9184d6b73
deps: Unpin zeroize (#580) 2021-08-05 11:04:57 -07:00
Armani Ferrante 1bea1bcbfc
Prune ix and solana version pinning (#569) 2021-08-03 12:50:43 -07:00
Kirill Fomichev 690c41315d
cli: Allow custom test commands (#550) 2021-07-29 14:38:24 -07:00
Kirill Fomichev b8dae74836
cli: Add keys include/exclude in programs section (#546) 2021-07-25 17:25:40 -07:00
Armani Ferrante 0998422348
spl: Add prune ix to dex middleware (#543) 2021-07-21 22:01:13 -07:00
Kirill Fomichev 5d0ae3a9f8
lang: Mutate instead returning new one in `CpiAccount::reload` (#527) 2021-07-19 12:16:58 -07:00
Armani Ferrante 615764b9c8
examples, spl: Permissioned markets via proxy middleware (#519) 2021-07-18 11:39:56 -07:00
suscd f34d0730db
lang/syn: Parse entire crate for IDL (#517) 2021-07-16 14:36:32 -07:00
Armani Ferrante 5018e98a9c
examples: Permissioned markets (#483) 2021-07-09 18:42:05 -07:00
Standaa dac6b17866
ts: Fix event listener not firing when creating associated accounts (#397) 2021-07-09 11:46:22 -07:00
Maximilian Schneider 53295e1e0b
examples: Rewrite constraints for new anchor version (#475) 2021-07-04 15:19:07 -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 f067624add
Token PDAs and CLI scripts (#400) 2021-06-27 13:17:05 -07:00
Haik Dulgarian 24824ca9f5
examples: Import TOKEN_PROGRAM_ID from @solana/spl-token (#415) 2021-06-26 10:27:14 -07:00
Sarat Limawongpranee 5aaa4499f6
example: Fix typo in test (#416) 2021-06-24 15:02:18 -07:00
aac fcb7a3e17b
examples: Add escrow (#410) 2021-06-22 20:03:57 -07:00
Armani Ferrante a6ebaabac4
lang: Initialize program derived addresses with instruction data (#386) 2021-06-15 17:15:51 -07:00
NorbertBodziony 2b3a41408c
examples: Update pyth to v2 (#385) 2021-06-14 11:56:30 -07:00
Armani Ferrante 3321ed3daa
examples: Add misc test for remaining accounts with state (#343) 2021-06-11 09:31:59 -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
Haik Dulgarian 9224e0fa99
docs: Change pronouns from one to you (#355) 2021-06-01 11:53:33 -07:00
Armani Ferrante 6b5ed789fc
lang, spl, cli: Refactor to preserve span information (#341) 2021-05-30 12:59:33 -07:00
keemy 2f5a7d2cee
examples: Simplify tutorials/basic-3 test (#337) 2021-05-29 10:24: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 21fc2d15f4
lang, ts: Consistent domain delimiters (#321) 2021-05-25 11:26:12 -07:00