Skip to content

dmdin/donation-platform

Repository files navigation

💸 SolDons

Svelte Anchor Rust TypeScript Solana Vercel

The One-Click way to start your fundraising, built on top of Svelte and Anchor for Solana network. Devnet version - https://soldons.vercel.app/

⚙️ Install

Install all necessary tools for developing smart-contracts with Anchor. On Windows you have to use WSL. Compile smart-contract and then deploy it. Make sure you have sufficient amount of Solanas

$: anchor build
$: anchor deploy

Copy programId from console and insert it in declare_id macro inside programs/donation-platform/src/lib.rs Run build and deploy commands again to save programId. Copy generated donation_platform.json from target/idl to app/src/lib

Move to app directory and install dependencies. pnpm is recommended to use

$: cd ./app
$: pnpm i

🚀 Startup the app

Now you are ready to run the app

   $: pnpm run dev

Open the page and fill free to test

🛰 Deploy

The project is fully configured to be deployed on Vercel To deploy just run

  $: vercel

🖼 Preview

Preview

About

💸 Solana based Donation Platform made on Rust, Anchor and Svelte

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published