Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions rfc-1/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
Create a simple Bitcoin like server that has the following components -
Created frontend and Backend server for a basic blockchain-

1. Central server - A central websocket server that all miners connect to to exchange messages
2. Miner server -
- Code that miners can run to be able to create blocks, do proof of work, broadcast the block via the central server.
- Code that verifies the signature, balances and creates / adds a block
- Code should reject smaller blockchains/erronours blocks
- Should be able to catch up to the blockchain when the server starts
3. Frontend -
- Lets the user create a BTC wallet
- Lets the user sign a txn, send it over to one of the miner servers
1. Backend - Implements webSocket server and miner server logic

- start: serverjs and miner.js in backend

Tech stack - Preferably Node.js/Golang for the servers
2. Frontend-

- has the logic to create a btc wallet for user
- can sign a transaction and send to blockchain
- show chain events

## Bounties
1. Simple Servers without UTXOs (in memory balances) - $200
2. UTXOs for ins and outs - $200 (for point 1) + $200
- blockchain verifies the transaction
- blockchain mines the block every 10 second
2 changes: 2 additions & 0 deletions rfc-1/backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.env
6 changes: 6 additions & 0 deletions rfc-1/backend/nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"watch": ["src"],
"ext": "js",
"ignore": ["src/**/*.spec.js"],
"exec": "node ./src/server.js"
}
Loading