Activity

Dead

Fixed Project button, added a readme, and changed about me section

Attachment
0
Dead

Shipped this project!

Hours: 14.87
Cookies: 🍪 31
Multiplier: 2.05 cookies/hr

I built the coolest website possible, I have a few ideas that im excited to add

Dead

Removed a >

Attachment
0
Dead

Added a front end to the blockchain platform, now you can do the following:
new users can generate a new wallet address
exisiting users can faucet coins
10 coins can be used to post a message(displays posters address, message and timestamp)
bottom of the page shows all the posts

Attachment
Attachment
1

Comments

developergirishgiri
developergirishgiri about 2 months ago

bro nice plz give me vote also

Dead

Currently working on the front end,
basic plan
Users can generate address, get faucet coins, see balance, pay to post something

Attachment
1

Comments

PQcat
PQcat 2 months ago

Hi Dead, just so you know Hack Club projects need to be open source so if you make a paywall anyone can bypass it.

Dead

To add decentralization:
Added consensus algorithm, to track chain on different nodes on our network
Rule: so longest valid chain is authoritative and will replace the chain on every node
Two endpoints for APIs, one for adding neighbouring nodes and the another for resolving conflicts

  • consensus(): (/node/resolve, GET)
  • register_nodes(): (/node/register, POST)
    Three functions to register node, validate blockchain, replace our chain with longest chain
  • resolve_conflicts():
  • valid_chain():
  • register_node(): netloc
Attachment
0
Dead

APIs working
Create a new transaction (POST /transactions/new)
Mine a new Block (Get /mine)
View the entire blockchain (GET /chain)

Attachment
0
Dead

Added 3 APIs

  • new_transactions() POST
  • mine() GET
  • fullchain GEt
Attachment
0
Dead

Learned how a blockchain works, added base attributes, behaviours:

  • chain : []
  • current_transactions : []
  • new_block() : {}
  • new_transaction() : int
  • hash() : str
  • last_block() : {}
Attachment
0