Commit Graph

184 Commits

Author SHA1 Message Date
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
Armani Ferrante 68c601ab22
lang: Add associated init constraint (#318) 2021-05-24 22:31:48 -07:00
Michael Huang dd64779273
spl: Implement token::set_authority (#307) 2021-05-24 17:07:20 -07:00
Blockchain Man 0d4a820231
examples: Spelling corrections (#315) 2021-05-24 10:48:22 -07:00
Armani Ferrante a9179600cd
cli: Add provider section to Anchor.toml (#305) 2021-05-23 10:00:24 -07:00
Armani Ferrante 8fa867fbd6
ts: Pubkeys as base58 strings (#304) 2021-05-23 09:58:15 -07:00
NorbertBodziony 37118e8c50
examples: Pyth oracle (#287) 2021-05-16 23:43:50 -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 9b446dbae1
ts: Add program simulate namespace (#266) 2021-05-08 21:31:55 -07:00
Armani Ferrante 851720eb0f
ts: Add support for u16 (#255) 2021-05-07 11:20:15 -07:00
Armani Ferrante d796cee091
client, lang: Add client support for state instructions (#248) 2021-05-06 14:48:22 -07:00
Armani Ferrante a1464d14d5
examples: Swap on the serum orderbook (#224) 2021-04-28 14:08:53 -07:00
Henry-E af735a49cf
examples/ido-pool: ensure IDO starts in the future (#225) 2021-04-27 16:24:34 -07:00
Maximilian Schneider 360a16657d
examples/ido-pool: Remove extraneous args (#222) 2021-04-24 02:03:08 -07:00
armaniferrante 2f2f29fea2
examples/ido-pool: Add zero supply check 2021-04-23 11:52:26 -07:00
armaniferrante c24c454523
examples: Add readme 2021-04-23 11:16:22 -07:00
Henry-E 31662b95e8
examples: IDO pool (#220) 2021-04-23 11:09:28 -07:00
Armani Ferrante 2bd84f23b5
examples: Basic-5 toml change and run in CI (#215) 2021-04-20 09:40:05 -07:00
armaniferrante 14edcb038d
docs, examples: Update cli version number and adjust ring size 2021-04-19 09:37:08 -07:00
Armani Ferrante ab509b6580
examples: Chat (#211) 2021-04-18 12:56:25 -07:00
Armani Ferrante a8aa84a3d1
lang: Zero copy state structs (#206) 2021-04-18 09:54:18 -07:00
Armani Ferrante b6afb30474
lang: Zero copy deserialization (#202) 2021-04-17 12:07:48 -07:00
Armani Ferrante 512604b85e
lang: Allow multiple with targets for associated accounts (#197) 2021-04-14 17:29:52 -07:00
armaniferrante d0a3f0faba
docs, examples: Associated tutorial 2021-04-13 22:45:57 -07:00
armaniferrante 318eb520d4
examples/misc: Mark associated account payer mut 2021-04-13 14:05:48 -07:00
Armani Ferrante b498b99f96
lang: Associated program account attributes (#186) 2021-04-13 11:47:54 -07:00
Armani Ferrante a94e24aea4
lang: Add owner constraint (#178) 2021-04-12 12:54:35 +08:00
Armani Ferrante c7c322a306
State struct cpi code generation (#43) 2021-04-11 17:23:43 -07:00
armaniferrante ce8263b858
examples/tutorial/basic-2: Remove typescript 2021-04-09 09:35:21 -07:00
Armani Ferrante 8289e47513
Update solana tooling to v1.6.3 (#139) 2021-04-04 00:55:56 -07:00
Armani Ferrante d6d41eee59
lang: Add executable account constraint (#140) 2021-04-03 15:13:12 -07:00
Standaa 7f2ef239ac
Feat/migrations typescript support (#132) 2021-03-30 23:14:15 -07:00
armaniferrante 6576e0d7ff
ts, examples: Fix web3.js usage 2021-03-30 20:19:05 -07:00
Armani Ferrante 429da0914c
examples: Use path dep for all examples (#122) 2021-03-25 12:13:09 -07:00
Armani Ferrante 3cbc227491
Events (#89) 2021-03-24 20:19:29 -07:00
Armani Ferrante b7cafcda0e
lang: Add state size override (#121) 2021-03-24 10:35:51 -07:00
Austin Abell 1d19a0a774
Fix token proxy tests and change values to make functionality more clear (#108) 2021-03-12 09:11:03 -08:00
Armani Ferrante 09fa8b5ee0
examples/multisig: Remove delete_transaction 2021-03-07 19:51:06 +08:00
Armani Ferrante 066104382b
examples/multisig: Changes for upgradeable programs (#98) 2021-03-07 19:25:53 +08:00
Armani Ferrante c6552e8ded
examples/lockup: Match beneficiary on unstaking 2021-03-05 14:19:40 +08:00
Armani Ferrante 012e258705
examples/lockup/docs: Spelling, grammar, and generalized 2021-03-04 19:41:00 +08:00
Armani Ferrante 8c985ecba0
cli: Require test files to end in .spec.ts 2021-03-01 17:56:52 +08:00
Armani Ferrante 425d2e868b
examples/tutorial/basic-2: Remove unnecessary package.json 2021-03-01 17:45:34 +08:00
NorbertBodziony 7b69e0ba23
add TS support for tests (#94) 2021-03-01 17:25:59 +08:00
Armani Ferrante 0d7425be65
examples/lockup: Add some docs 2021-03-01 14:50:34 +08:00
Armani Ferrante bfd527f760
examples/misc: Use tilde in wallet path 2021-02-23 01:46:28 +08:00
Armani Ferrante b3803aec03
cli: Specify programs to embed into local validator genesis via Anchor.toml 2021-02-23 01:41:40 +08:00
Armani Ferrante bf8d765e26
examples/lockup: Add set_lockup_program instruction 2021-02-13 17:15:55 +08:00
Armani Ferrante f1d2404450
examples: Cashiers check 2021-02-13 00:53:45 +08:00
Armani Ferrante c67dabd1f9
Add support for u128 and i128 (#83) 2021-02-11 13:24:29 +08:00
Armani Ferrante 9fb42ce572
examples/lockup: Remove unused var in test 2021-02-10 21:50:39 +08:00
Armani Ferrante 2499195523
examples/lockup: Specify start date of vesting schedule 2021-02-10 21:39:57 +08:00
Armani Ferrante a780002683
lang/syn: Allow state structs with no ctor or impl block 2021-02-10 21:28:59 +08:00
Armani Ferrante 1681afda49
travis, examples: Run lockup in CI 2021-02-09 23:40:10 +08:00
Armani Ferrante 5378a21123
travis, examples: Run lockup against devnet 2021-02-08 16:17:33 +08:00
Armani Ferrante a6cc210595
Lockup realization trait 2021-02-08 12:55:00 +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 d36ebd640a
Add some more tutorial documentation (#60) 2021-02-03 00:35:18 -08:00
Armani Ferrante 24e92f29d7
examples/multisig: Set localnet as default network 2021-02-01 08:23:32 -08:00
Armani Ferrante eae05f2c3b
Deref program account 2021-02-01 08:21:00 -08:00
Armani Ferrante 056e33370b
Add account accessor 2021-02-01 06:52:55 -08:00
Armani Ferrante bba2771962
examples: Add multisig (#56) 2021-02-01 06:33:29 -08:00
Armani Ferrante 616c2e2fa7
examples/lockup: Adjust test params 2021-01-30 06:59:11 -08:00
Armani Ferrante a078b683b8
examples/lockup: Disallow vesting accounts with invalid periods 2021-01-30 05:59:51 -08:00
Armani Ferrante 345d25a583
cli: Deploy with upgradeable loader 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 d9da6887e7
Add published version badges to readme 2021-01-23 19:07:57 -08:00
Armani Ferrante f22479fff9
#[error] generates a Result<T> type 2021-01-23 17:07:38 -08:00
Armani Ferrante 9da5bccb07
examples: Add counter to basic-4 2021-01-23 16:54:13 -08:00
Armani Ferrante ef23756978
State struct instructions 2021-01-23 07:40:31 -08:00
Armani Ferrante e4b8267697
Complete staking registry 2021-01-22 23:11:03 -08:00
Armani Ferrante 41c3c57464
examples: Change package path 2021-01-22 06:21:55 -08:00
Armani Ferrante 32c6ad3cf5
Fix build 2021-01-22 05:29:39 -08:00
Armani Ferrante 7bc07d292f
examples: Add basic-4 2021-01-22 05:19:43 -08:00
Armani Ferrante 178807102d
examples: Update tests 2021-01-22 04:55:03 -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