This is not a production ready app and was not audited and in the stage of development which is being build solely for educational purposes!
Idea behind the app is to create a fundraising platform which accepts SOLs(Solana's Crypto) in an easy, fast and secure fasion.
development branch is for CI/CD pipline and main for the finalized code
Coming soon...
Clone the project
git clone git@github.com:itsbek/CrowdSOL.gitInstall dependencies
npm installor
yarnBuild the Anchor program
anchor buildand deploy the program by running:
anchor deployplease note that this instructions written assuming that you are running on UNIX like OS or WSL if you're on Windows and have sufficient SOLs in your wallet
To run the tests I had to start the local validator
solana-test-validatorand then run
anchor test --skip-local-validatorTo simplify the end gaol out of the platform, I quickly created a (very dirty) userflow to help visualize better
- initiate a new fundraiser
- withdraw Funds to wallet
- make a donation
- initiator can end the fundraise
- frontend
- commission logic for the platform
- reward logic for referrals
- reward logic for top 10 donators
- platform token (CHRT) transfer logic using SPL
