Warning
This Repo is no longer maintained! For an up-to-date (and much more versatile) template, try https://github.com/solana-program/create-solana-program.
- Install Rust from https://rustup.rs/
- Install Solana from https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool
- Run
yarn install
to install dependencies
$ yarn rename -n cool_program_name -i NewProgramKeypair111111111111111111111111111
Values that will be replaced:
my_program_name
(andmy-program-name
)MyProgram1111111111111111111111111111111111
$ yarn build:rust
$ yarn solita
$ yarn build:sdk
$ yarn build
Run the following command in a separate shell
$ amman start
Then, run the Amman script
$ yarn amman