@solana-developers/preset-anchor
v3.1.0
Published
This library is a preset for create-solana-dapp that adds anchor support to your project.
Downloads
1,051
Readme
@solana-developers/preset-anchor
This library is a preset for create-solana-dapp that adds Anchor support to your project.
Supported generators
anchor-application
NX generate @solana-developers/preset-anchor:anchor-application [name] [options,...]
From: @solana-developers/preset-anchor (v0.0.1)
Name: anchor-application (aliases: application, preset)
Generate an Anchor application
Options:
--name Name of the project [string]
--programName Name of the program [string]
--template The template to use [string] [choices: "counter",
"basic", "none"] [default:
"none"]
--skipFormat Skip formatting files [boolean]
anchor-template
NX generate @solana-developers/preset-anchor:anchor-template [name] [options,...]
From: @solana-developers/preset-anchor (v0.0.1)
Name: anchor-template (aliases: template)
Generate an Anchor template
Options:
--directory [string]
--name [string]
--projectName Name of the project [string]
--template The template to use [string] [choices: "base",
"counter", "basic"]
--skipUpdateIndexTs Skip updating index.ts [boolean]