aaas-demo.mp4
AAAS is a decentralized platform to compete with yourself, earn rewards by voting for challenges The platform consists of:
- A mobile application built with React Native and Expo
- A Solana blockchain contract built with Anchor
Users can create algorithm challenges, vote on solutions, and interact with the platform through a modern mobile interface that integrates with Solana's blockchain ecosystem.
// this should be replaced with some 100xdevs token for minting reward and USDC for joining the challenge
MINT_OF_TOKEN_FOR_REWARD =
"HPuw5bXXxUj8akYkscffhM92gSu9sV7Z5PDJJmPzeNEa";
/aaas-app
- Mobile application built with React Native and Expo/aaas-contract
- Solana smart contract built with Anchor framework
- Create and browse challenges
- Vote on challenges
- User profiles and authentication
- Solana wallet integration
- Mobile-first interface
- React Native with Expo framework
- TypeScript
- Expo Router for navigation
- Solana Web3.js and Mobile Wallet Adapter
- React Hook Form for form management
- Zod for validation
-
Install dependencies:
cd aaas-app npm install # or yarn install
-
Start the development server:
npx expo start
-
Run on a device or simulator:
- Press
a
to open in Android emulator - Press
i
to open in iOS simulator - Scan QR code with Expo Go app on your physical device
- Press
- Manages challenge creation and submission
- Handles voting and rewards
- Secure transaction processing
- Solana Blockchain
- Anchor Framework
- Rust programming language
-
Install dependencies:
cd aaas-contract yarn install
-
Build the contract:
anchor build
-
Deploy to local network:
anchor deploy
-
Run tests:
anchor test
- Make changes to the smart contract
- Test and deploy the contract
- Update the mobile app to interact with the new contract version
- Test end-to-end functionality
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request