Stockpile is a decentralized funding engine for the open-internet. Leveraging the speed of Solana, the protocol facilitates general crowdfunding campaigns, quadratic funding rounds, and fair hackathons with verifiable transfers/calculations, all at the speed of light. Stockpile is designed for builders and creators to leverage their communities to raise the funds needed for their next endeavor, and is (to our knowledge) the first of its kind on any blockchain.
- General Crowdfunding: Inspired by the likes of Kickstarter and Indiegogo, the protocol features general crowdfunding by default, which is applicable for most projects and initiatives. This also features optional reward distribution via NFTs, which is handled on the frontend.
- Funding Rounds: Stockpile features permissionless, configurable quadratic funding rounds hosted on-chain. Anyone with size is permitted to create a round to equitably fund projects and causes pertaining to the initiative their looking to move forward.
- Milestones: Most ecosystems structure grants in milestones. We've taken this into account, and implemented this on-chain in conjunction with both general crowdfunding, and funding rounds. Milestones are created under a project, and require the user to specify a condition, along with an intended completion date. In addition, future pools will be have the option to gate based on a presence of these accounts. As of right now, there is no approval process, and these exist only for transparency. This feature is still experimental, and requires proper frontend implementation to be useful.
Ensure the Solana-CLI & Anchor-CLI are installed
solana --version && anchor --version
Clone this repository
git clone https://github.com/StockpileProtocol/stockpile-v2.git
Build & generate an IDL
anchor build
Mainnet & Devnet: STKUaKniasuqrfer3XNbmrrc578pkL1XACdK8H3YPu8
Review the CONTRIBUTING.md file for more information on how to contribute to Stockpile v2.This code is unaudited. Copy and use at your own risk. We incur no liability in the event that a third-party uses this code, and has issues deriving from exploits or any other attacks.
Special thank you to Buffalo Joe (Solana Labs) & Valentin Madrid (Squads) for helping to get us started, and Sean (Squads) for technical advisory.