new kovan contract
This commit is contained in:
parent
3ec4b6c7ec
commit
1462313b14
@ -1,6 +1,6 @@
|
|||||||
NET_ID=42
|
NET_ID=42
|
||||||
RPC_URL=https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51
|
RPC_URL=https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51
|
||||||
PRIVATE_KEY=
|
PRIVATE_KEY=
|
||||||
MIXER_ADDRESS=0x30AF2e92263C5387A8A689322BbfE60b6B0855C4
|
MIXER_ADDRESS=0xa01dCfABF44674f2f60e064e9F4B1300a87753c8
|
||||||
# in wei
|
# in wei
|
||||||
DESIRED_FEE=10000000000000000
|
DESIRED_FEE=10000000000000000
|
2
index.js
2
index.js
@ -24,7 +24,7 @@ const gasPrices = { fast: defaultGasPrice }
|
|||||||
|
|
||||||
app.get('/', function (req, res) {
|
app.get('/', function (req, res) {
|
||||||
// just for testing purposes
|
// just for testing purposes
|
||||||
res.send(`Tornado mixer relayer. Gas Price is ${JSON.stringify(gasPrices)}`)
|
res.send(`Tornado mixer relayer. Gas Price is ${JSON.stringify(gasPrices)}. Mixer address is ${mixerAddress}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
app.post('/relay', async (req, resp) => {
|
app.post('/relay', async (req, resp) => {
|
||||||
|
@ -218,13 +218,13 @@
|
|||||||
"anonymous": false,
|
"anonymous": false,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
"indexed": false,
|
"indexed": true,
|
||||||
"name": "from",
|
"name": "commitment",
|
||||||
"type": "address"
|
"type": "uint256"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"indexed": false,
|
"indexed": false,
|
||||||
"name": "commitment",
|
"name": "leafIndex",
|
||||||
"type": "uint256"
|
"type": "uint256"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -253,23 +253,6 @@
|
|||||||
"name": "Withdraw",
|
"name": "Withdraw",
|
||||||
"type": "event"
|
"type": "event"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"indexed": false,
|
|
||||||
"name": "leaf",
|
|
||||||
"type": "uint256"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": false,
|
|
||||||
"name": "leaf_index",
|
|
||||||
"type": "uint32"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "LeafAdded",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"constant": false,
|
"constant": false,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
|
Loading…
Reference in New Issue
Block a user