Commit Graph

177 Commits

Author SHA1 Message Date
acheron 852fcc77be
v0.30.0 (#2909) 2024-04-15 17:20:01 +02:00
acheron f74ea64ca6
idl: Rename crate name to `anchor-lang-idl` (#2908) 2024-04-15 13:56:53 +02:00
acheron 7356bd5afe
idl: Keep crate and `spec` version the same (#2901) 2024-04-13 01:06:45 +02:00
acheron 1f0bf0ee60
spl: Remove `solana-program` dependency (#2900) 2024-04-11 23:57:41 +02:00
Bhargava Sai Macha e3ced784ad
Add support for token extensions (#2789) 2024-04-11 22:49:13 +02:00
acheron ae26fd84bb
spl: Upgrade `mpl-token-metadata` to 4.1.2 (#2899) 2024-04-10 23:58:13 +02:00
acheron 3591ba6cb8
spl: Remove `toml_edit` version requirement (#2895) 2024-04-08 21:19:34 +02:00
acheron 2dd79da674
spl: Upgrade `spl-associated-token-account` to 3.0.2 (#2891) 2024-04-05 23:18:46 +02:00
acheron c138a55b72
idl: Move IDL types from the `anchor-syn` crate to the new IDL crate (#2882) 2024-04-02 20:01:27 +02:00
acheron 475c694355
Upgrade `spl-token-2022` to 3.0.2 (#2876) 2024-03-31 07:59:49 +02:00
acheron c66b323293
Upgrade Solana to 1.18.8 (#2867) 2024-03-28 05:52:24 +01:00
acheron 0f6090950a
lang: Add `declare_program!` macro (#2857) 2024-03-25 23:14:02 +01:00
acheron b83d5fd64b
Upgrade `cargo_toml` to 0.19.2 (#2859) 2024-03-20 02:36:39 +01:00
acheron d9a9f19394
Fix IDL (#2824)
* Rewrite IDL type spec

* Rewrite IDL generation

* Partially rewrite the TS package with the new IDL, improved account resolution and types
2024-03-10 14:22:23 +01:00
acheron fde00661c1
spl: Pin version of `toml_edit` crate to 0.21.0 (#2807) 2024-02-04 12:46:25 +01:00
acheron 1fc92ab1e3
lang: Fix `use of unstable library feature 'build_hasher_simple_hash_one'` (#2756) 2023-12-31 18:05:33 +01:00
Michal Nazarewicz 7e5bdce710
Update base64 dependency (#2686) 2023-10-28 23:00:00 +02:00
Sean Young 749c45a2d9
Fixes for Solidity/Solang (#2677) 2023-10-24 15:59:34 +02:00
acheron fc9fd6d24b
v0.29.0 (#2672) 2023-10-16 18:35:17 +02:00
Pierre 5900c93310
avm: Allow install, list and use from commit (#2659) 2023-10-14 17:41:46 +02:00
0xWoo 23eeb1ec2d
spl: add feature memo to support cpi to spl-memo (#2661) 2023-10-13 01:23:35 +02:00
acheron 6cf200493a
spl: Update dependencies to their latest versions (#2657) 2023-10-12 11:13:30 +02:00
acheron 5e7fb44518
Upgrade Solana to `1.17.0` (#2645) 2023-10-07 23:53:37 +02:00
Fernando Otero b0e725b5ac
spl: Update `mpl-token-metadata` to `3.1.0` and fix `create_metadata_accounts_v3` (#2651) 2023-10-07 11:01:19 +02:00
Sean Young 3e8bc76d72
Update to solang v0.3.2 and add simple test (#2636) 2023-09-26 22:55:41 +02:00
Fernando Otero 99b75a905b
spl: Update to token metadata client sdk (#2632) 2023-09-25 16:19:23 +02:00
Jean Marchand (Exotic Markets) c548c85dff
chore: Remove unused crates (#2577) 2023-07-22 12:43:56 +02:00
acheron 4e5280be46
cli: Fix workspace inheritence (#2570) 2023-07-14 23:17:23 +02:00
Lucas Steuernagel cfc6d2916b
cli: Bump `solang-parser` version (#2569) 2023-07-14 21:29:16 +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
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
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
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
acheron f9d0eca704
spl: Update `spl-token-2022` to 0.6.1 (#2496) 2023-05-19 13:18:14 +02:00
acheron 4793b90db1
Fix `toml_datetime` 1.64.0 MSRV error (#2495) 2023-05-19 10:58:16 +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
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 a195106117
spl: Use fixed version for `winnow` crate to fix new builds (#2478) 2023-05-01 13:39:50 +02:00
acheron 03b1e4df6b
Upgrade `clap` to 4.2.4 (#2474) 2023-04-27 12:10:23 +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
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 3b45144787
v0.27.0 (#2428) 2023-03-08 13:28:23 +00:00
Henry-E 45fa9bd3ba
Update Solana-program and rust-version (#2420) 2023-03-02 17:23:16 +00:00
dependabot[bot] ef5f4c2538
Bump tokio from 1.21.2 to 1.24.2 (#2415) 2023-03-02 11:34:41 +00:00
Jon Cinque 777f2eace1
interface: Support multiple programs with the same interface via token-2022 (#2386) 2023-02-27 10:55:08 +00:00
Henry-E cfdaac11e6
changes from previous PR (#2391)
Co-authored-by: henrye <henry@notanemail>
2023-02-07 10:49:24 +00:00
Jean Marchand (Exotic Markets) eef9888c82
lang: remove ConstraintLiteral (#2379) 2023-02-06 17:41:38 +00:00
Jean Marchand (Exotic Markets) a0ef4ed7a4
lang: add the InitSpace macro (#2346) 2023-01-26 11:22:48 +00:00