Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update viction-staking-governance.md #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions developer-guide/integration/viction-staking-governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Masternodes and Voters' funds are locked and governed in the [Viction Validator smart contract](https://vicscan.xyz/address/0x0000000000000000000000000000000000000088):

* Smart Contract Code: [Viction Validator](https://github.com/BuildOnViction/tomomaster/blob/master/contracts/TomoValidator.sol)
* Smart Contract ABI: [TomoValidatorAbi.json](https://raw.githubusercontent.com/Viction/tomomaster/master/abis/TomoValidatorAbi.json)
* Smart Contract ABI: [VicValidatorAbi.json](https://raw.githubusercontent.com/Viction/tomomaster/master/abis/VicValidatorAbi.json)

Viction Validator Smart Contract Interface:

Expand Down Expand Up @@ -74,13 +74,13 @@ web3.eth.defaultAccount = owner
### Init Web3 Viction Validator Contract <a href="#init-web3-viction-validator-contract" id="init-web3-viction-validator-contract"></a>

```javascript
const validatorAbi = require('./TomoValidatorAbi.json')
const validatorAbi = require('./VicValidatorAbi.json')
const address = '0x0000000000000000000000000000000000000088'
const validator = new web3.eth.Contract(validatorAbi,
address, {gasPrice: 250000000, gas: 2000000 })
```

Note: you can get TomoValidatorAbi.json [here](https://raw.githubusercontent.com/Viction/tomomaster/master/abis/TomoValidatorAbi.json)
Note: you can get VicValidatorAbi.json [here](https://raw.githubusercontent.com/Viction/tomomaster/master/abis/VicValidatorAbi.json)

### Propose/Apply a Candidate <a href="#proposeapply-a-candidate" id="proposeapply-a-candidate"></a>

Expand Down
2 changes: 1 addition & 1 deletion general/how-to-connect-to-viction-network/metamask.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ First install the[ MetaMask Extension](https://metamask.io/) on Chrome or Brave

| <p><br></p> | Mainnet | Testnet |
| ------------------ | ----------------------- | ----------------------------------- |
| New RPC URL | https://rpc.viction.xyz | https://rpc-testnet.viction.xyz |
| New RPC URL | https://rpc.viction.xyz | https://rpc.testnet.tomochain.com |
| ChainID | 88 or 0x58 | 89 |
| Symbol | VIC | VIC |
| Nickname | Viction | Viction Testnet |
Expand Down