solana-program / create-solana-program

pnpm create solana-program
Apache License 2.0
70 stars 9 forks source link

Add support for external accounts #54

Closed febo closed 3 months ago

febo commented 3 months ago

This PR adds support for loading external accounts as dependencies. These are specified on Cargo.toml as a list of addresses under a account-dependencies property – e.g.,:

[package.metadata.solana]
program-id = "11111111111111111111111111111111"
account-dependencies = ["SysvarC1ock11111111111111111111111111111111"]
changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: d81e2d258d593e8e11764f7ab26346b260c74295

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | create-solana-program | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR