Giter Club home page Giter Club logo

bonkburn's Introduction

bonk burn

  • /program - Solana Program Source and IDL
  • /app - Front end deployment using NextJS

Though BonkBurn is bonk focused, the program, is generic. Burn accts are seeded by wallet and mint so a user can have many token burn accounts. This front end will filter high scores only for desired tokens and facilitate burns just for that token.

PRs, issues, feedback welcome. Thanks! ๐Ÿ™

Key Variables:

  • Cluster: mainnet-beta
  • ProgramId: FiRESpaNzgYUiba5vkb44CZJLZjrux1AUECdfwPRsNkg
  • BonkMint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263

Getting Started (Front End)

Rename .env.example to .env. Update REACT_APP_SOLANA_RPC_HOST with your devnet RPC or the public: https://api.devnet.solana.com

Update app\utils\constants.ts as necessary:

  • Make sure reference to .env is correct in SOLANA_RPC
  • Update TOKEN_CONFIG to reflect your token of choice
export const SOLANA_RPC: string = process.env.REACT_APP_SOLANA_RPC_HOST as string;

export const TOKEN_CONFIG = {
    mint: new PublicKey('DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263'),
    name: 'Bonk',
    symbol: 'BONK'
}

If deploying your own site, make sure to update HomeView component with your metadata

Run the development server:

npm install
#or
yarn
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

////

Program: FiRESpaNzgYUiba5vkb44CZJLZjrux1AUECdfwPRsNkg Creator: MiLZAcWZgMYvFnZqzJ6XRj4h5r47bgX64Vt5gRnBvqv

bonkburn's People

Contributors

amilz avatar beeman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.