Skip to content

Commit a23f4f8

Browse files
authored
chore: Update README to the latest gno repo requirements (#152)
Signed-off-by: Jeff Thompson <jeff@thefirst.org>
1 parent 04cfb2d commit a23f4f8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ To install `gnokey` and `gnodev`, in the gno repo enter:
88

99
make install
1010

11-
To start gnodev, in this repo in dsocial/realm enter:
11+
To start gnodev, enter the following where <dsocial> is the root of the dsocial repo. (We run gnodev in the gno repo so that it has the correct Go version.)
1212

13-
gnodev .
13+
gnodev staging <dsocial>/realm/
1414

1515
To install the faucet, in another terminal enter:
1616

@@ -20,27 +20,27 @@ To install the faucet, in another terminal enter:
2020

2121
To start the faucet using the mnemonic of the test1 key, enter:
2222

23-
./build/faucet serve -send-amount 10000000000ugnot -chain-id dev -remote http://localhost:36657 -mnemonic "source bonus chronic canvas draft south burst lottery vacant surface solve popular case indicate oppose farm nothing bullet exhibit title speed wink action roast"
23+
./build/faucet serve -send-amount 10000000000ugnot -chain-id dev -remote http://localhost:26657 -mnemonic "source bonus chronic canvas draft south burst lottery vacant surface solve popular case indicate oppose farm nothing bullet exhibit title speed wink action roast"
2424

2525
To send coins to your user account, in another terminal enter the following (with your account number):
2626

2727
curl --location --request POST 'http://localhost:8545' --header 'Content-Type: application/json' --data '{"To": "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh"}'
2828

29-
To register the user, enter the following (change jefft0 to your account username):
29+
To register the user, enter the following (change jefft000 to your account username):
3030

31-
gnokey maketx call -pkgpath "gno.land/r/demo/users" -func "Register" -args "" -args "jefft0" -args "Profile description" -gas-fee "10000000ugnot" -gas-wanted "2000000" -send "200000000ugnot" -broadcast -chainid dev -remote 127.0.0.1:36657 jefft0
31+
gnokey maketx call -pkgpath "gno.land/r/gnoland/users/v1" -func "Register" -args "jefft000" -gas-fee "10000000ugnot" -gas-wanted "100000000" -send "1000000ugnot" -broadcast -chainid dev -remote 127.0.0.1:26657 jefft000
3232

33-
To post a message, enter the following (change jefft0 to your account username):
33+
To post a message, enter the following (change jefft000 to your account username):
3434

35-
gnokey maketx call -pkgpath "gno.land/r/berty/social" -func "PostMessage" -args "My first post" -gas-fee "1000000ugnot" -gas-wanted "5000000" -broadcast -chainid dev -remote 127.0.0.1:36657 jefft0
35+
gnokey maketx call -pkgpath "gno.land/r/berty/social" -func "PostMessage" -args "My first post" -gas-fee "1000000ugnot" -gas-wanted "100000000" -broadcast -chainid dev -remote 127.0.0.1:26657 jefft000
3636

3737
Note that this returns the "thread ID" of the new post like "(1 gno.land/r/berty/social.PostID)".
3838

39-
To view the result in a browser, go to the following URL (change jefft0 to your account username):
39+
To view the result in a browser, go to the following URL (change jefft000 to your account username):
4040

41-
http://127.0.0.1:8888/r/berty/social:jefft0
41+
http://127.0.0.1:8888/r/berty/social:jefft000
4242

4343
To post a reply, enter the following where THREADID and POSTID are both the thread ID from PostMessage
44-
(change the account number and jefft0 to your account):
44+
(change the account address and jefft000 to your account):
4545

46-
gnokey maketx call -pkgpath "gno.land/r/berty/social" -func "PostReply" -args "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh" -args THREADID -args POSTID -args "my reply" -gas-fee "1000000ugnot" -gas-wanted "5000000" -broadcast -chainid dev -remote 127.0.0.1:36657 jefft0
46+
gnokey maketx call -pkgpath "gno.land/r/berty/social" -func "PostReply" -args "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh" -args THREADID -args POSTID -args "my reply" -gas-fee "1000000ugnot" -gas-wanted "100000000" -broadcast -chainid dev -remote 127.0.0.1:26657 jefft000

0 commit comments

Comments
 (0)