Skip to content

yashurade27/vulnera

Repository files navigation

Vulnera - Decentralized Bug Bounty Platform on Solana

Vulnera is a next-generation bug bounty platform built on the Solana blockchain, enabling companies to reward security researchers instantly through smart contracts. The platform features AI-powered vulnerability analysis, on-chain payment processing, and transparent escrow management.

🧪 Test Credentials

Bounty Hunter Account

Email: pmtbmt@gmail.com
Password: password123

Company Account

Email: taydeprajyot@gmail.com
Password: password123

Admin Account

Email: admin@test.com
Password: password123

System Architecture

Vulnera Architecture

This is a Next.js app containing:

  • Tailwind and Shadcn UI for styling
  • Gill Solana SDK
  • Shadcn Wallet UI components
  • A basic Counter Solana program written in Anchor
  • codama to generate a JS sdk for the program
  • UI components for interacting with the program

Getting Started

Installation

Download the template

npx create-solana-dapp@latest -t gh:solana-foundation/templates/gill/vulnera

Install Dependencies

npm install

Apps

anchor

This is a Solana program written in Rust using the Anchor framework.

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, eg: npm run anchor.

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 the anchor/src/counter-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

web

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

Commands

Start the app

npm run dev

Build the app

npm run build

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •