Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SadikSunbul committed Jun 21, 2024
1 parent 47949cc commit fe04428
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ The project consists of the following components:
Clone the project to your local machine:

+ ```bash
git clone https://github.com/SadikSunbul/GO-BlockChain-Simulation.git
cd GO-BlockChain-Simulation
$ git clone https://github.com/SadikSunbul/GO-BlockChain-Simulation.git
$ cd GO-BlockChain-Simulation
***

## Usage
Expand All @@ -32,47 +32,47 @@ To create a new blockchain:


+ ```bash
go run main.go createblockchain -address <ADDRESS>
$ go run main.go createblockchain -address <ADDRESS>
***
### Checking Balance
To check the balance for a specific address:
+ ```bash
go run main.go getbalance -address <ADDRESS>
$ go run main.go getbalance -address <ADDRESS>
***

### Sending Transactions

To send a transaction on the blockchain:

+ ```bash
go run main.go send -from <FROM_ADDRESS> -to <TO_ADDRESS> -amount <AMOUNT>
$ go run main.go send -from <FROM_ADDRESS> -to <TO_ADDRESS> -amount <AMOUNT>
***
### Viewing the Blockchain
To print all blocks in the blockchain:
+ ```bash
go run main.go printchain
$ go run main.go printchain
***

### Creating a New Wallet

To create a new wallet:

+ ```bash
go run main.go createwallet
$ go run main.go createwallet
***
### Creating a New Wallet
### List Wallets
To create a new wallet:
Lists the public keys of the wallets you created on your device:
+ ```bash
go run main.go createwallet
$ go run main.go listaddresses
***

## Contributing
Expand Down

0 comments on commit fe04428

Please sign in to comment.