Skip to content

Latest commit

 

History

History

preset-anchor

@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 application                             [string]
    --template      The template to use            [string] [choices: "counter",
                                                        "hello-world"] [default:
                                                                      "counter"]
    --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", "hello-world"]
    --skipUpdateIndexTs    Skip updating index.ts                     [boolean]

More information