nifemibosun/ByteChain-Testnet-Alpha ? reverse-engineered prompt

Reverse engineered prompt

Build me a ByteChain testnet node in TypeScript that I can run locally for experimenting with a small blockchain network.

I want it to support basic transactions, a mempool, proof of work mining, and peer to peer syncing so multiple nodes can share transactions and blocks automatically. Each node should expose a simple HTTP API where I can check the chain, see pending transactions, look up balances, and submit a pre signed transaction from a client. The node should not manage private keys, just verify and process signed transactions.

Please use the existing setup file for ports and node config, and make it easy to start a node from the command line. It should mine on its own at regular intervals, broadcast new blocks, and keep the balance model where the sender is reduced right away and the recipient only gets funds after the transaction is mined.

If you need to look up current docs for any libraries, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab