Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nksanthosh authored Sep 11, 2019
1 parent 088e6e1 commit 3df5c23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ This will produce `talk.abi` and `talk.wasm`.

## Installing the contract

Run this in a terminal:

```
cleos create account eosio talk EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
cleos set code talk talk.wasm
Expand All @@ -40,6 +42,7 @@ cleos set abi talk talk.abi

## Creating users and using the contract

Run this in a terminal:
```
cleos create account eosio bob EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
cleos create account eosio jane EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
Expand All @@ -51,13 +54,15 @@ cleos push action talk post '[1001, 2000, bob, "Replying to your post"]' -p bob

## Listing the messages

Run this in a terminal:
```
cleos get table talk '' message
```

## Viewing the fron-end decentralized web app (EOSJS):

Run this in a terminal:
```
gp preview $(gp url 8000)
Expand Down

0 comments on commit 3df5c23

Please sign in to comment.