StrongDonald / solana-breeding-

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arcryptiannft-breeding-solana

If this repo is helpful, don't forget to follow.

This is a real project for arcryptiannfts.com. You are responsible for all problems caused by abuse of this code.

Solana Cli Version 1.9.13, Candymachine v2

If you are new to solana, please read this. This will guide you general idea and how to install solana.


Project Structure

  • app: ignore it, it is test frontend, not complete
  • client: candymachine-ui customization for nft breeding, complete frontend
  • programs: main business logic written by rust
  • scripts: it is for test
  • tests: sample test but not used here

How to use

anchor build
If you build program first time, you will get keypair json.
You could get program_id from solana address <keypair-json>.
anchor test
If you've done anchor test, you could get idl file with program_id from target/idl.
Copy idl to client/src/idl.
anchor deploy

Then change location to client, npm start.

Done.

If you have some problem, email me.

About


Languages

Language:TypeScript 56.0%Language:JavaScript 17.6%Language:CSS 14.3%Language:Rust 9.2%Language:HTML 2.8%