Skip to content

ArminasTomasevicius/Sol_flow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sol Flow - ask with crypto, answer and earn crypto

155825079_864464057447958_7231499166089927789_n 📹Demo:https://youtu.be/j44OSi7h-P8

🔥 It is getting late and deadline is creeping in, you can't make Solana program to distribute locked tokens to multiple addresses... You try asking a question on StackOverflow, however, nobody is answering(somebody has to know...)

💵 Your client tomorrow will not be happy... and you can pay any price to get that damn program working. Enter Sol Flow, you write down a question with your 💩 code samples, provide 5 SOL bounty and wait for someone to show up.

🧠 Several developers are refreshing Solana related questions tab, waiting for some easy bounties 💰
Something showes up...
I see, that nooby probably never coded in RUST... Pathetic. 30mins later I upload working code with instructions how to run it. Someone jumped in faster and provided some links to Solana documentation(noob already read it)I am sure that my answer will be the best one because nobody is a better Solana developer than me!

😎 Nooby is happy, program is finally working! He upvotes an answer this way ensuring that our today's 🎸 star will get juicy 4 SOL(80%) bounty, other developers also jumped in and tried to help by providing some useful links, after all they deserved to share amoung them that portion of 1 SOL(20%).

🔨 What we have built?

For this hackathon we forked https://github.com/salihozdemir/stackoverflow-clone stackoverflow clone project and tried to implement incentives/rewards system with Solana.

✅ -Implemented sollet wallet as a verification system
✅ -Transfers(Questions/Answers) to the Solana's program address.
✅ -Pooling in the single Solana program

Also tinkered with https://github.com/solana-labs/solana-program-library memo and shared-memory samples

Here's diagram showing how our program suppose to work:

solflow

🚀 Tech Stack

  • ReactJs
  • NextJs
  • Storybook
  • PostCSS
  • NodeJs
  • Express
  • MongoDB
  • Mongoose

⚠️ Prerequisite

  • node
  • npm
  • mongodb

💿 How to run local

# Clone this repository
$ git clone https://github.com/ArminasTomasevicius/Sol_flow/

# Go into the repository
$ cd Sol_flow

# Go into server
$ cd server

# Start mongodb locally
$ mongod

# Install dependencies
$ npm install

# Start the backend server
$ npm run dev

# On another terminal, go to the client folder
$ cd ../client

# Install dependencies
$ npm install

# Use the command below for Android devices
$ npm run dev

# To see the incomplete storybook components
npm run storybook

📜 Todo

  • Finish damn Solana program to make it distribute tokens to answerers addresses
  • Successfully deploy to Heroku
  • Currently we are using MongoDB to store public keys, questions and answers -> move to IPFS

📝 License

This project is made available under the MIT License.

About

This project is a simplified a full stack clone of Stackoverflow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.8%
  • CSS 17.3%
  • Rust 14.6%
  • Shell 0.3%