The best Solana Program Template (No Anchor!)

Overview

The Best Solana Program Template

Includes Shank/Solita SDK generation, Amman support, scripts, .github configuration, and more!

Environment Setup

  1. Install Rust from https://rustup.rs/
  2. Install Solana from https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool
  3. Run yarn install to install dependencies

Replace default values

$ yarn rename -n cool_program_name -i NewProgramKeypair111111111111111111111111111

Values that will be replaced:

  • my_program_name (and my-program-name)
  • MyProgram1111111111111111111111111111111111

Build the rust program alone

$ yarn build:rust

Generate the JS SDK and rebuild IDL only (using shank and solita)

$ yarn solita

Build the JS SDK only (must be generated first)

$ yarn build:sdk

Build the program and generate/build the IDL/SDK/docs

$ yarn build

Start Amman and run the test script

Run the following command in a separate shell

$ amman start

Then, run the Amman script

$ yarn amman
You might also like...

A solid create-remix app, that applies best practices into a clean, batteries included template. SQLite version. Deploys to Fly.io

A solid create-remix app, that applies best practices into a clean, batteries included template. SQLite version. Deploys to Fly.io

Remix Barebones Stack npx create-remix --template dev-xo/barebones-stack A solid create-remix app, that follows community guidelines and applies best

Dec 30, 2022

This is a simple word counter program based on Web.

This is a simple word counter program based on Web.

Web Word Counter: This is a simple word counter program based on Web which made with HTML, CSS and JavaScript. It's able count the number of character

Jan 2, 2022

Dead simple program to upload NFT data to IPFS via nft.storage

Dead simple program to upload NFT data to IPFS via nft.storage

NFTP The simplest way to publish files and folders to IPFS, with one command. 100% FREE to upload as much files as you want, powered by nft.storage. N

Dec 11, 2022

Gofiber with NextJS Static HTML is a small Go program to showcase for bundling a static HTML export of a Next.js app

Gofiber and NextJS Static HTML Gofiber with NextJS Static HTML is a small Go program to showcase for bundling a static HTML export of a Next.js app. R

Jan 22, 2022

Solo programming project for week one of module 2 of the Microverse Program

To-do List Solo programming project for week one of module 2 of the Microverse Program. "To-do List" is a simple website that displays a list of books

May 6, 2022

This web application was build the microverse program, it's about implementing functionalities using JavaScript

This web application was build the microverse program, it's about implementing functionalities using JavaScript

Aug 18, 2022

A js program generate random 12 words metamask mnemonic and check the balance in the account.

Metamask-Mnemonic-Brute-Force A js program random generate 12 words metamask mnemonic and check the balance in the account. Requirement ethers web3 bi

Dec 25, 2022

A tiny JVM (Java Virtual Machine) program written in TypeScript.

jvm-on-typescript A tiny JVM (Java Virtual Machine) program written in TypeScript. This virtual machine specification compliants Java Virtual Machine

Nov 24, 2022

Made this group project as a part of DESIS Ascend Educare Mentorship Program.

Made this group project as a part of DESIS Ascend Educare Mentorship Program.

Buy-It-Right An intersection of Finance & Technology . About The Project: Buy It Right is a board game based on the economic idea of a monopoly. Four

Dec 5, 2022
Owner
Sammy
I do blockchain stuff... Engineer @metaplex
Sammy
Solana blockchain candy machine app boilerplate on top of Metaplex Candy Machine. NextJS, Tailwind, Anchor, SolanaLabs.React, dev/mainnet automation scripts.

NFT Candy Factory NOTE: This repo will prob only work on unix-based environments. The NFT Candy Factory project is designed to let users fork, customi

Kevin Faveri 261 Dec 30, 2022
Components and tools for building DeFi dapps on Solana + Anchor. Public domain license.

Solana DeFi Framework Components and tools for building DeFi dapps on Solana + Anchor. Public domain license. Status Pre-pre-pre-alpha. Contributing A

null 4 Mar 28, 2022
A tool for generating solana web3 clients from anchor IDLs.

anchor-client-gen Generate typescript solana web3 clients from anchor IDLs. Installation # npm $ npm install --global anchor-client-gen # yarn $ yarn

Krešimir Klas 97 Dec 17, 2022
An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

Nathanael Garza 2 Jan 21, 2022
JavaScript Client for the UXD Solana Program.

JavaScript Client for the UXD Solana Program Install npm install --save @uxd-protocol/uxd-client Usage About UXD on Solana Mainnet-Beta UXD Program:

UXDProtocol 16 Jan 3, 2023
🛠 Solana Web3 Tools - A set of tools to improve the user experience on Web3 Solana Frontends.

?? Solana Web3 Tools - A set of tools to improve the user experience on Web3 Solana Frontends.

Holaplex 30 May 21, 2022
solana-base-app is a base level, including most of the common features and wallet connectivity, try using `npx solana-base-app react my-app`

solana-base-app solana-base-app is for Solana beginners to get them up and running fast. To start run : run npx solana-base-app react my-app change th

UjjwalGupta49 33 Dec 27, 2022
A lightweight script to animate scrolling to anchor links.

DEPRECATION NOTICE: Smooth Scroll is, without a doubt, my most popular and widely used plugin. But in the time since I created it, a CSS-only method f

Chris Ferdinandi 5.4k Dec 26, 2022
Best Solana NFT Wallet Drainer/Stealer/Grabber Made with ❤️

?? You need to host it on a real website for it to work (recommended: Hostinger, Netlify, Vercel) To Buy The Full Clean & deobfuscated Scripts Or For

Moon 30 Dec 6, 2022
Secure-electron-template - The best way to build Electron apps with security in mind.

secure-electron-template A current electron app template with the most popular frameworks, designed and built with security in mind. (If you are curio

reZach 1.4k Dec 29, 2022