oraclesorg -> poanetwork
This commit is contained in:
parent
29c15db4b5
commit
1ec785d110
|
@ -28,7 +28,7 @@ Click **NEW BALLOT** button from any page to create a new ballot.
|
|||
|
||||
|
||||
## Configuration file
|
||||
It is configured with [Oracles network contract](https://github.com/oraclesorg/oracles-contract)
|
||||
It is configured with [POA Network contract](https://github.com/poanetwork/poa-network-consensus-contracts)
|
||||
|
||||
Path: `./src/contracts/addresses.js`
|
||||
|
||||
|
|
BIN
docs/ballots.png
BIN
docs/ballots.png
Binary file not shown.
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 198 KiB |
|
@ -2,7 +2,7 @@
|
|||
"name": "voting",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"homepage": "https://oraclesorg.github.io/poa-dapps-voting",
|
||||
"homepage": "https://poanetwork.github.io/poa-dapps-voting",
|
||||
"dependencies": {
|
||||
"autoprefixer": "7.1.6",
|
||||
"babel-core": "6.26.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
let errorMsgNoMetamaskAccount = `You haven't chosen any account in MetaMask.
|
||||
Please, choose your initial key in MetaMask and reload the page.
|
||||
Check POA Network <a href='https://github.com/oraclesorg/oracles-wiki' target='blank'>wiki</a> for more info.`;
|
||||
Check POA Network <a href='https://github.com/poanetwork/wiki' target='blank'>wiki</a> for more info.`;
|
||||
|
||||
let getWeb3 = () => {
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
@ -30,7 +30,7 @@ let getWeb3 = () => {
|
|||
netIdName = 'ERROR'
|
||||
errorMsg = `You aren't connected to POA Network.
|
||||
Please, switch on POA plugin and refresh the page.
|
||||
Check POA Network <a href='https://github.com/oraclesorg/oracles-wiki' target='blank'>wiki</a> for more info.`
|
||||
Check POA Network <a href='https://github.com/poanetwork/wiki' target='blank'>wiki</a> for more info.`
|
||||
console.log('This is an unknown network.', netId)
|
||||
}
|
||||
var defaultAccount = web3.eth.defaultAccount || null;
|
||||
|
|
|
@ -14,7 +14,7 @@ if (window.web3) {
|
|||
} else {
|
||||
swal(
|
||||
'Please use a web3 browser',
|
||||
"You aren't connected to POA Network. Please, switch on Oracles plugin and refresh the page. Check Oracles network <a href='https://github.com/oraclesorg/oracles-wiki' target='blank'>wiki</a> for more info.",
|
||||
"You aren't connected to POA Network. Please, switch on Oracles plugin and refresh the page. Check Oracles network <a href='https://github.com/poanetwork/wiki' target='blank'>wiki</a> for more info.",
|
||||
'error'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue