Skip to content

Turbin3/accel-T3Flip

Repository files navigation

Q4_Accel_Grp_2_Project

Frontend

This frontend is based on the solana-react-dapp template with nextjs, tailwind, wallet-ui, and codama.js

Commands

You can use any normal anchor commands. Either move to the anchor directory and run the anchor command or prefix the command with npm run, eg: npm run anchor.

web

This is a React app that uses the Anchor generated client to interact with the Solana program.

Commands

Install dependencies

npm install

Start the app

npm run dev

Build the app

npm run build

Sync the program id:

Running this command will create a new keypair in the anchor/target/deploy directory and save the address to the Anchor config file and update the declare_id! macro in the ./src/lib.rs file of the program. This will also update the constant in anchor/src/basic-exports.ts file.

npm run setup

Build the program:

npm run anchor-build

Start the test validator with the program deployed:

npm run anchor-localnet

Run the tests

npm run anchor-test

Deploy to Devnet

npm run anchor deploy --provider.cluster devnet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors