Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
axdvdv authored Feb 3, 2020
1 parent 7bb1d53 commit 960bfa5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ in ```conf.json``` file **Configure next fields:**

- ```accountName``` : paste your account name
- ```KeyProvider``` : paste your account private key
- ```ethNet``` : paste your infura id project

> **For getting the infura `project id` you have to register on [infura.io](infura.io) and create a project**
## Run

Expand All @@ -32,4 +35,4 @@ node build/oracle.js
1. User call ```convert(...)``` on smart contract in ethereum mainnet
2. Smart contract in ethereum while transfering BET tokens from users, and emit event **Swap**
3. Oracle reads events from ethereum smart contract and proposes to ```eosio.msig``` transfer BET tokens from ```eosio.bridge``` to account from events. if this proposal already exists, oracle approves this proposal.
4. When proposal has been approved by 2/3 + 1 validators ```eosio.bridge``` sends tokens to user.
4. When proposal has been approved by 2/3 + 1 validators ```eosio.bridge``` sends tokens to user.

0 comments on commit 960bfa5

Please sign in to comment.