Commit Graph

521 Commits

Author SHA1 Message Date
Aoi Kurokawa c58d2f232e
cli: add verifiable option in deploy command (#2705) 2023-11-19 23:59:47 +01:00
acheron d28414efd4
cli: Fix commit based `anchor_version` override (#2704) 2023-11-17 15:26:44 +01:00
John Anthos a9c423ef24
syn: Fix IDL constant seeds parsing (#2699) 2023-11-15 23:59:34 +01:00
acheron cded9de0a4
cli: Improve error handling of toolchain overrides (#2700) 2023-11-13 23:58:21 +01:00
John Anthos 870ee9a876
cli: Add ability to force init and new commands via cli (#2698)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-11-11 12:21:56 +01:00
acheron 9cb8d0355d
cli: Fix using user specific path for `provider.wallet` (#2696) 2023-11-09 21:58:08 +01:00
acheron 8f3bb8a556
cli: Make `cargo build-sbf` the default build command (#2694) 2023-11-07 00:53:26 +01:00
acheron 150fc3e832
Fix workspace `resolver` warning (#2676) 2023-10-30 22:39:07 +01:00
acheron fc9fd6d24b
v0.29.0 (#2672) 2023-10-16 18:35:17 +02:00
acheron 88a75aff13
avm: Install from version-commit and refactor (#2671) 2023-10-15 11:36:50 +02:00
acheron 4f996d0a58
cli: Add ability to override toolchain from `Anchor.toml` (#2649) 2023-10-14 21:40:26 +02:00
acheron 8717364f81
Remove the maximum version constraint from Solana crates (#2667) 2023-10-13 23:58:51 +02:00
0xWoo 23eeb1ec2d
spl: add feature memo to support cpi to spl-memo (#2661) 2023-10-13 01:23:35 +02:00
Jean Marchand (Exotic Markets) dcafb789e1
lang: Add accounts by reference (#2656) 2023-10-11 16:46:48 +02:00
Jean Marchand (Exotic Markets) 243ab75738
lang: Type safe bumps (#2542) 2023-10-10 23:48:23 +02:00
acheron 5e7fb44518
Upgrade Solana to `1.17.0` (#2645) 2023-10-07 23:53:37 +02:00
Nick Guo 5602244e1a
cli: Support upgradeable program in anchor test (#2642)
Resolves #2641
2023-10-03 22:46:40 +02:00
acheron e1d5e785b8
syn: Fix generic type aliases (#2644) 2023-10-01 22:53:02 +02:00
acheron d1e32674d5
Add type alias support (#2637) 2023-09-27 22:59:29 +02:00
Fernando Otero 99b75a905b
spl: Update to token metadata client sdk (#2632) 2023-09-25 16:19:23 +02:00
acheron 3c6fc2ba2d
syn: Fix IDL named enum variant field being snake_case (#2633) 2023-09-21 18:45:22 +02:00
acheron fdda604d41
ts: Add strong type support for `addEventListener` (#2627) 2023-09-13 00:12:41 +02:00
acheron b9fa898384
cli: Fix `anchor account` command panicking outside of workspace (#2620) 2023-09-01 22:42:06 +02:00
Will dcf5928f3f
lang: `Box` the inner enums of `anchor_lang::error::Error` (#2600)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-08-30 19:28:51 +02:00
Will a7205af5df
lang: `associated_token` constraints don't work when setting `token_program` (#2603)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-08-23 22:10:08 +02:00
acheron 6eacad4b11
cli: Add program template with multiple files (#2602) 2023-08-15 23:58:17 +02:00
acheron 454f1dd044
ts: Add support for unnamed(tuple) enum in accounts (#2601) 2023-08-13 16:50:28 +02:00
acheron b7b8736276
spl: Export `mpl-token-metadata` crate (#2583) 2023-07-31 23:41:12 +02:00
acheron cad868a052
Make the new IDL features explicit (#2582) 2023-07-29 23:49:17 +02:00
acheron 5eb678a8bf
ts: Lazy load workspace programs and improve program name accessor (#2579) 2023-07-25 23:52:26 +02:00
dromaz 10eb698912
avm: Add support for the `.anchorversion` file (#2553)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-07-20 23:58:13 +02:00
acheron 8309bb3ed5
cli: Fix `anchor build --no-docs` (#2575) 2023-07-19 18:28:38 +02:00
acheron cf057acac0
client: Fix compilation with Solana `1.14` (#2572) 2023-07-16 17:08:25 +02:00
acheron 4e5280be46
cli: Fix workspace inheritence (#2570) 2023-07-14 23:17:23 +02:00
Krešimir Klas 6ef6b79a6c
IDL generation through compilation (#2011)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-07-08 19:59:30 +02:00
Noah Prince 0225b7c0fd
lang: Allow polymorphic CPI calls matching an interface (#2559) 2023-07-07 23:30:38 +02:00
Jean Marchand (Exotic Markets) 9ff7dfcf6f
lang: Support for `const` in the `InitSpace` macro (#2555) 2023-07-05 10:05:37 +02:00
chalda 401d526150
client: Add `DynSigner` (#2550) 2023-07-03 22:56:58 +02:00
acheron e55cd3e646
lang: Add `Lamports` trait (#2552) 2023-07-01 22:59:36 +02:00
acheron 9d947cb26b
ts: Remove usage of `assert` (#2535) 2023-06-17 21:19:42 +02:00
acheron e1afcbf71e
v0.28.0 (#2527) 2023-06-09 18:00:35 +02:00
acheron c7c73194d8
Allow wider range of dependency versions to reduce dependency issues (#2524) 2023-06-08 18:59:44 +02:00
acheron 3d7c97be90
cli: Accept program lib name for `anchor deploy --program-name` (#2519) 2023-06-06 19:28:24 +02:00
Jean Marchand (Exotic Markets) 65c9d6e9b9
client: Add async to anchor-client (#2488)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-06-06 09:43:46 +02:00
CanardMandarin 1902b8e586
cli: Update programs in `Anchor.toml` when using `anchor new` (#2516) 2023-06-05 14:16:10 +02:00
acheron 383e440788
cli: Initialize with the correct program id (#2509) 2023-06-04 21:02:16 +02:00
acheron 1c6f86e5f7
Upgrade Solana to 1.16.0 (#2512) 2023-06-04 13:09:39 +02:00
acheron 70d922301e
cli: Add `anchor keys sync` command (#2505) 2023-05-28 22:34:53 +02:00
Noah Gundotra 23b90bffc0
Feature: CPI Events API (#2438)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-26 18:36:46 +02:00
chalda 41a4d820d3
cli: Add print base64 instruction option for some of the IDL commands (#2486)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-18 19:12:25 +02:00
Pierre b7bada148c
fix: remove skip preflight from cli (#2492)
---------

Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-16 15:46:40 +02:00
Ryan De La O 89e94d1d6a
cli: Fix incorrect metadata.address generation (#2485)
Currently when running 'anchor deploy --program-name <name> --program-keypair <specified keypair>' the cli still uses the auto-generated keypair when fetching the program id to add to the IDL metadata at the end. It should instead use the address from the specified keypair.

---------

Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-13 11:17:47 +02:00
Matthew Callens ac86e15756
spl: remove mpl `create_metadata_account_v2` wrapper that were removed from program (#2480)
* remove mpl ix wrappers that were removed from program

* update changelog
2023-05-03 18:53:46 -04:00
acheron 5910dd3e2f
Add benchmarking for compute units usage (#2466) 2023-04-24 10:33:11 +02:00
CanardMandarin 2e89b79c51
fix: used identifiers in handler (#2464) 2023-04-22 21:26:22 +02:00
Elliot Kennedy 670b4f5005
Add `token_program` constraint to token, mint, and associated token accounts (#2460) 2023-04-19 10:43:24 +02:00
Sean Young 9e7c33eec1
Add support for Solidity using the Solang compiler (#2421)
anchor init and anchor new have a new option `-s` (or `--solidity`) which
creates an example using Solidity in the soldity directory of the
anchor workspace.

anchor deploy/build/test work accordingly.

solang is required to be in the path, this can be downloaded from the
release at https://github.com/hyperledger/solang

anchor build/deploy finds all the solidity contracts by using the
solidity parser to find all contract declarations.
2023-04-04 17:58:03 +02:00
Marquelle N f307729bdc
Narrow AccountClient to it's appropriate type (#2440) 2023-03-24 13:09:34 -05:00
Matthew Callens 5e13431aca
spl: update mpl metadata crate and add more wrappers (#2430)
* update mpl metadata crate and add more wrappers

* update changelog
2023-03-09 14:36:31 -05:00
Henry-E 16da5e9ce7
Update CHANGELOG.md (#2429) 2023-03-09 14:43:42 +00:00
Henry-E 3b45144787
v0.27.0 (#2428) 2023-03-08 13:28:23 +00:00
Henry-E 30083bd83c
Simple versioned transaction support (#2427) 2023-03-07 15:08:29 +00:00
Henry-E 1dc16d6642
Revert "Simple Versioned Transaction Support (#2407)" (#2426)
This reverts commit 064dde4b1a.
2023-03-06 12:22:58 +00:00
Henry-E 064dde4b1a
Simple Versioned Transaction Support (#2407) 2023-03-06 12:07:24 +00:00
Jon Cinque 06c42327d4
cli: Add arch option to use `build-sbf` or `build-bpf` (#2398) 2023-03-03 16:21:36 +00:00
Henry-E 45fa9bd3ba
Update Solana-program and rust-version (#2420) 2023-03-02 17:23:16 +00:00
Kyle Espinola 6f4f32a9c5
feat: add master edition account deserialization to spl metadata (#2393) 2023-02-27 17:29:13 +00:00
Matthew Callens 9044b9b8cd
spl: add spl token approve checked wrapper (#2401)
* add spl token approve checked wrapper

* update changelog
2023-02-21 02:49:07 -05:00
Marquelle Nesbitt 37cc99c2b6
Make the return type of `AccountClient.fetchMultiple` consistent (#2390) 2023-02-07 20:28:43 +00:00
Henry-E cfdaac11e6
changes from previous PR (#2391)
Co-authored-by: henrye <henry@notanemail>
2023-02-07 10:49:24 +00:00
nojob1 5099044bf4
add --skip-build option for verify command (#2387) 2023-02-07 10:49:07 +00:00
Jean Marchand (Exotic Markets) eef9888c82
lang: remove ConstraintLiteral (#2379) 2023-02-06 17:41:38 +00:00
Jean Marchand (Exotic Markets) c76641f861
lang: remove deprecated accounts (#2375) 2023-02-06 16:46:09 +00:00
Ruven Salamon 010b400669
cli: fixes bug where the wrong exit status is reported (#2370) 2023-02-06 12:29:06 +00:00
cavemanloverboy cd63049c40
add async_rpc method (#2322) 2023-02-06 12:19:43 +00:00
cavemanloverboy 020b6448e0
Multithreaded Client (#2321) 2023-02-06 12:13:54 +00:00
nojob1 cb680809f0
make idl enum fields which are snake case have proper typing to camel case (#2378) 2023-02-01 11:56:12 +00:00
Christian Kamm ed2769ef28
Make zero copy safe by default, add `account(zero_copy(unsafe))` feature. (#2330) 2023-01-26 14:46:57 +00:00
Henry-E 2a05075760
Update IDL program (#2365) 2023-01-26 11:32:30 +00:00
Jean Marchand (Exotic Markets) a0ef4ed7a4
lang: add the InitSpace macro (#2346) 2023-01-26 11:22:48 +00:00
Jean Marchand (Exotic Markets) 5f9b5905dc
ts: remove duplicate functions (#2357) 2023-01-24 10:39:31 +00:00
Christian Kamm e3fe24f925
Simulate: Don't attempt to sign transaction (#2331) 2023-01-17 09:57:47 +00:00
Christian Kamm 27bb695685
Idl: Limit account size to 60kb, allow closing idl accounts (#2329) 2023-01-05 13:25:21 +00:00
Henry-E 11642929ac
Spl token transfer checked (#2353) 2023-01-05 10:02:36 +00:00
Christian Kamm a97d04ab06
Cli: Don't regenerate idl in read_all_programs() (#2332) 2022-12-23 13:28:35 +00:00
Jean Marchand (Exotic Markets) 38bbb21c33
lang: remove the state and interface attributes (#2285) 2022-12-22 16:33:44 +00:00
Henry-E 7236c8bb69
Add headings to changelog (#2333) 2022-12-21 11:24:33 +00:00
riordanp 8856aee7df
Allow passing env vars to verifiable build container (#2325) 2022-12-21 11:22:34 +00:00
Henry-E 4bef8c40ef
Switch to using @coral-xyz/anchor packages (#2318) 2022-12-16 13:21:50 +00:00
acheron ba5b55d7f0
Fix 0.26.0 CHANGELOG PR links (#2316) 2022-12-15 18:59:33 +00:00
Henry-E 347c225a27
v0.26.0 (#2315)
* v0.26.0

* update packages

* typedocs

Co-authored-by: henrye <henry@notanemail>
2022-12-15 16:12:22 +00:00
Henry-E b00fe70d1b
add optional accounts to changelog (#2314)
* add optional accounts to changelog

* Update CHANGELOG.md
2022-12-14 20:15:57 +00:00
Henry-E f79f9dab74
Use less heap intensive error mapping (#2313)
* less heap intensive error mapping

* add changelog

* try returning the error

* dumb match statements instead

* missing commas

Co-authored-by: henrye <henry@notanemail>
2022-12-14 17:03:57 +00:00
Jean Marchand (Exotic Markets) fad05805d8
spl: change serum-dex to openbook-dex (#2308)
* Change serum-dex by openbook-dex

* Change serum-dex by openbook-dex in tests

* Fix swap

* Fix cfo

* Downgrade openbook

* Disable cfo and update changelog

* Revert lock file

* minor grammar

* update the pubkey to open dex

* Remove @solana/web3.js from ts package.json

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:12:33 +00:00
Adithya Narayan b662ff1460
cli: `anchor account` subcommand to read program account (#1923)
* Setup account subcommand skeleton

* Move IDL deserialization code to syn module

* Change HashMap to serde_json

* Add enum deserialization

* Add account subcommand to docs

* Fix lint

* Add validation for account type

* Fix solana-sdk dependency version

* Fix clippy warnings

* Move IDL deserialization code to cli module

* Remove debug print

* Add integration tests

* Update documentation with example

* Fix clippy warnings

* Fix leftover merge conflict

* run prettier

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:11:26 +00:00
Henry-E 03eff348db
only add public enums to the IDL (#2310)
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:10:47 +00:00
Petr Kozorezov 7527033c7b
Add 'ticks-per-slot' option passing to test validator (#1875)
* add 'ticks-per-slot' option passing to test validator

* add 'ticks-per-slot' option passing to test validator

* add 'ticks-per-slot' option passing to test validator

* cargo fmt and changelog

Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:10:14 +00:00
Henry-E 09b829d1a3
Identity com bugfix/robust fetch nullable (#2301)
* ts: Fixed `.fetchNullable()` to be robust towards accounts only holding a balance

* update changelog to new PR id

* prettier

Co-authored-by: Martin Riedel <web@riedel-it.de>
Co-authored-by: henrye <henry@notanemail>
2022-12-07 10:54:45 +00:00
Henry-E 7d7747cc90
Build borsh package first, then build anchor package (#2306)
* Add build borsh package to yarn build anchor package

* update changelog with rsh stuff; clean up full stops

* make it even clearer in the changelog

* missing full stop

Co-authored-by: henrye <henry@notanemail>
2022-12-07 10:46:29 +00:00
skrrb 6814ce646e
cli: run a subset of the test suites (#1864)
* cli: run subset of tests with --run

* changelog

* test

* fix run test path

* test: added missing package.json

* cli: run subset of tests with --run

* changelog

* test

* fix run test path

* test: added missing package.json

Co-authored-by: Armani Ferrante <armaniferrante@gmail.com>
Co-authored-by: henrye <henry@notanemail>
2022-12-06 21:42:10 +00:00
Tommy Johnson c798821947
add geyser_plugin_config support for anchor localnet (#2016)
* add geyser_plugin_config support for anchor localnet

* run cargo fmt

* remove duplicate code that came from #2150

Co-authored-by: Tommy Johnson <tommy@psyoptions.io>
2022-12-06 21:15:48 +00:00
Henry-E 1bb1969d60
fix breaking change on null or undefined wallet (#2303)
Co-authored-by: henrye <henry@notanemail>
2022-12-06 12:05:12 +00:00
Nicholas Clarke 66e45327b9
Add optional flag to parseLogs to throw an error on decoding failure (#2043)
* Add optional flag to parseLogs to throw an error on decoding failure

* update changelog

Co-authored-by: henrye <henry@notanemail>
2022-12-05 15:50:46 +00:00
skrrb fb714b9343
fix anchor keys list command (#2063)
* fix anchor keys list command

* changelog

Co-authored-by: henrye <henry@notanemail>
2022-12-05 15:50:31 +00:00
surfertas 50724df110
allow ability to pass in feePayer to Provider methods [WIP] (#2186)
* allow ability to pass in feePayer to Provider methods

* align comments

* prettier

* check if feePayer set, handle if not

* remove unnecessary spaces in comments

* update changelog

* strict equality check

* use null check

* use logical or

* use logical or

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
2022-12-05 12:45:27 +00:00
Henry-E 19e00e5d8f
Don't allow the payer to be initialized as a program account (#2284)
* don't allow people to initialize the payer as a program account

* update changelog

* accidentally commented out part of another test

Co-authored-by: henrye <henry@notanemail>
2022-11-25 15:12:58 +00:00
cyphersnake a73bd728fb
lang: Add `Owner` & `Discriminator` implementation for ix structures (#2085)
lang: Add into `Discriminator` trait constant `DISCRIMINATOR`

So that during match instructions or other entities there is no explicit instruction call of `discriminator()`

lang: Add `Owner` impl to instructions

Co-authored-by: Mikhail Gorbachev <m.gorbachev@joinsprouttherapy.com>
2022-11-24 16:19:39 +00:00
Jean Marchand (Exotic Markets) b8cda8a717
cli: Allow custom cluster config (#2271)
* cli: Allow custom cluster config

* Update changelog

* Downgrade the code

* Fix rust fmt

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
2022-11-22 16:33:44 +00:00
Henry-E 5291a7b6ff
Update rust to v1.62 (#2272)
* update rust from v1.56 to v1.65

* remove unnecessary borrows to appease clippy

* stop clippy complaining for now

* use 1.64 instead because of CI stuff

* update CHANGLEOG

* just seeing if the cli version is affecting the available rust version

* ok, back to 1.62

Co-authored-by: henrye <henry@notanemail>
2022-11-22 16:13:45 +00:00
Jean Marchand (Exotic Markets) 8ce18c36db
spl: Update instructions and remove rent from constraints (#2265)
* Update spl instructions and remove the rent sys_var from constraints

* Fix initialize mint

* Update changelog and fix examples

* Remove oversights
2022-11-19 12:59:14 +00:00
acheron af115999c6
ts: Remove SPL coders from Anchor package (#2155)
* ts: Remove SPL coders from Anchor package

* Replace old SPL custom coder tests

* Build and link new SPL packages before tests and decode token account for AccountStore

* Fix Github actions ts setup

* Fix u64 buffer length

* Update submodules

* Update CHANGELOG

* Checkout correct submodule commits

* Add filler program to generate idls in order for anchor test to pass
2022-11-17 14:17:22 +00:00
filipzeta 5c474c6dfb
Bugfix multiple event listeners with the same name (#2165)
* Bugfix multiple event listeners with the same name

* Changelog

* changelog
2022-11-16 16:33:01 +00:00
Jean Marchand b107cbe94f
lang: Fix parsing for bytes literals in the IDL (#2261)
* lang: Fix parsing of some constants

* Fix lint + changelog
2022-11-16 15:59:09 +00:00
Sammy Harris fa1249836e
Feat: Update AccountsClose to be safe to call manually (#2209)
* fix other lints to make the test pass

(cherry picked from commit d6e43c1ed6)

* update close to make it safe to call manually

* fix test script

* re-add safety warnings for deprecated account types

* update close checking logic

* readd logic for deprecated methods

* add additional checks to account_loader in exit
2022-10-21 17:06:54 +01:00
Henry-E d83efcdc3a
update solana web3 package to 1.64.0 (#2223)
* update solana web3 package to 1.64.0

* fix some missing packages; update changelog

* fix weird prettier thing messing with changelog

* also upgrade the yarn.lock in tests
2022-10-13 11:20:32 +01:00
Noah Prince 6f3877f36c
feat: Update seeds inference to allow nested user defined structs as part of the seeds (#2198) 2022-09-23 22:14:57 -04:00
Noah Prince 436791b039
feat: Recursively derive seeds and add custom account resolver (#2194) 2022-09-21 16:32:24 -04:00
Matthew Callens f155996c3c
add wrappers for mpl `sign_metadata` and `remove_creator_verification` (#2175)
* add wrappers for mpl creator verification ix

* update changelog
2022-09-10 16:32:29 -04:00
Matthew Callens 4c24c5d7b1
add `update_primary_sale_happened_via_token` ix wrapper for `metadata` (#2173)
* add update_primary_sale_happened_via_token ix wrapper

* update changelog
2022-09-10 15:57:27 -04:00
Noah Prince e69e50daaf
feat: Add has_one relations inference so you don't need to pass accounts that are referenced by a has_one (#2160) 2022-09-10 12:52:59 -04:00
surfertas 0c70d183ef
add freeze and thaw delegated account instructions (#2164) 2022-09-06 10:30:50 -04:00
Pierre 8ee4600785
feat: Use new canonical close account pattern (#2169) 2022-09-06 09:33:17 -04:00
acheron 5a025b949e
ts: Add SPL Anchor packages (#2143) 2022-08-22 21:57:56 -04:00
Sammy Harris 290b2aa43e
feat: constants declared in impl blocks in seeds (#2128) 2022-08-14 12:42:16 -04:00
Sammy Harris 3a0deba901
fix: IDL gen byte string lit parsing (#2125) 2022-08-13 22:57:59 -04:00
Kevin Rodríguez d3ee9b529a
spl: adding metadata account type (#2014) 2022-08-13 14:44:38 -04:00
Matthew Callens 000e74ed48
spl: add create metadata v3 and set collection size ix (#2119)
* add create metadata v3 and set collection size ix

* update changelog
2022-08-12 12:11:43 -04:00
Sammy Harris 68362aca58
feat: Adds transaction function to RequestBuilder (#1985) 2022-07-30 14:53:10 -04:00
Armani Ferrante 6baed77eb5
v0.25.0 (#2031) 2022-07-05 16:32:55 -04:00
Matthew Callens c47fb2877e
lang: adjust `realloc` implementation to safeguard max increase and idempotency (#1986) 2022-07-05 15:54:40 -04:00
Armani Ferrante 9b61bbc626
bump solana-program version (#2027) 2022-07-04 23:58:31 -04:00
Matthew Callens 85847445b3
fix changelog entry to be breaking (#2022) 2022-07-02 11:17:02 -04:00
Matthew Callens e67c50f914
ts: convert `EventParser.parseLogs` to a generator function (#2018) 2022-07-01 23:29:19 -04:00
Matthew Callens 2ad00678b6
ts: add `accountsStrict` for non-resolvable accounts input (#2019) 2022-07-01 18:26:09 -04:00
Sohrab 55e0c5d9dd
fix: align links to coral-xyz/anchor github repo (#1988) 2022-06-19 22:16:16 -04:00
Armani Ferrante 1ec9af7e21
Revert "lang: add `realloc` constraint group (#1943)" (#1984)
This reverts commit 7fe39c61ad.
2022-06-17 17:16:10 -04:00
cavemanloverboy 6984260330
Minor fix (#1976) 2022-06-16 09:47:44 -04:00
Matthew Callens 179711bacc
ts: verbose error for missing `ANCHOR_WALLET` in `NodeWallet.local()` (#1958) 2022-06-10 09:54:06 -04:00
Matthew Callens 7fe39c61ad
lang: add `realloc` constraint group (#1943) 2022-06-04 20:25:28 -04:00
Daniel Marin a5dbc7b850
ts: setup associated token program idl (#1939) 2022-06-01 14:51:44 -04:00
sushi-shi 58db41bb35
cli: Allow passing arguments to a script (#1914) 2022-05-29 23:24:45 +02:00
Vladimir Guguiev d83fcbf7bc
ts: Add program.coder.types for encoding/decoding user-defined types (#1931) 2022-05-29 22:39:45 +02:00
Sammy b993854767
client: Add send w/ spinner and options (#1926) 2022-05-29 22:31:38 +02:00
Daniel Marin 707ebf26e7
feat: Setup a coder for SystemProgram (#1920) 2022-05-26 13:03:44 +02:00
Charlie You 90bbc8b6be
ts: Add tx signature to EventCallback (#1851) 2022-05-17 11:24:16 -04:00
Armani Ferrante 59c2dbb712
update CHANGELOG.md (#1869) 2022-05-04 11:08:36 -04:00
Italo Casas a298bcd650
cli: add --skip-build flag to publish command (#1841) 2022-05-03 09:48:51 -04:00
Tommy Johnson 0011e22b91
add wallet publickey to Provider (#1845) 2022-04-28 18:23:20 -04:00
Pierre 282c394666
feat: add sync native to anchor_spl::token (#1833) 2022-04-25 13:39:35 -04:00
Blas Rodriguez Irizar cb4549fdf3
cli: add short alias for build and test commands (#1823) 2022-04-22 17:04:05 -04:00