How to make a transaction

How to send a transaction: – Open http://localhost:8082/ – Enter the sender’s address (public key), recipient’s address (public key), amount of digital dollars, amount of digital stocks and miner reward. – Before sending, click «Update Blockchain» in the main menu to sync the latest data.
Update blockchain screen
Enter your private key (password), then click the «Send Money» button.
Send money screen
Transaction class structure

The `DtoTransaction` class (in `src/main/java/entity/blockchain/DtoTransaction/DtoTransaction.java`) constructor takes: - sender (public key) - recipient (public key) - digitalDollar (amount) - digitalStock (amount) - laws (package of laws) - bonusMiner (miner reward) - vote (YES or NO) - signature (sender’s signature) It also validates that the signature is correct.

Back to top ↑