Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed May 10, 2021
1 parent d0250da commit 1a7791c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

one line command to start a quick devnet godwoken-polyjuice chain for contract depolyment.

with web3 custom provider like [polyjuice-providers-http](https://github.com/RetricSu/polyjuice-providers-http), you can do simple debugging and testing for your dapp as well.
start from v0.2.0-rc2, you don't need custom provider like [polyjuice-http-providers](https://github.com/RetricSu/polyjuice-providers-http) to run your eth dapp any more!

instead, just change your Metamask network setting like following:

```sh
Network Name: Godwoken
New RPC URL: http://localhost:8024
Chain ID: 0x3
```

and you are already good to go!

## How to run

Expand Down Expand Up @@ -56,11 +66,9 @@ then the deployment will auto start.

after deployment successfully get done, you will find the contract address listing below.

with deployed contract address and the above web3.js-init-code sample, you are good to go.

## How to test dapp

read [doc here](docs/test-simple-dapp.md).
~~read [doc here](docs/test-simple-dapp.md).~~ needs update.

## Some useful command

Expand Down

0 comments on commit 1a7791c

Please sign in to comment.