Skip to content

tsephel24/blockchain-proj

Repository files navigation

Build an Image

docker build --tag tenzin-blockchain .

Run an image

docker run --name tenzin-blockchain -p 8090:8080 tenzin-blockchain

Run the curl command

This transfers ETH:

curl --header "Content-Type: application/git statusjson" --request POST --data '{"address":"0x9D0C4a72012A128aB437fAa1A9b09729e7B7DA5e", "amount":"0.05"}' http://localhost:8090/eth

This transfers token:

curl --header "Content-Type: application/json" --request POST --data '{"address":"0x9D0C4a72012A128aB437fAa1A9b09729e7B7DA5e"}' http://localhost:8090/token

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published