mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
new kovan contract
This commit is contained in:
parent
3ec4b6c7ec
commit
1462313b14
@ -1,6 +1,6 @@
|
||||
NET_ID=42
|
||||
RPC_URL=https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51
|
||||
PRIVATE_KEY=
|
||||
MIXER_ADDRESS=0x30AF2e92263C5387A8A689322BbfE60b6B0855C4
|
||||
MIXER_ADDRESS=0xa01dCfABF44674f2f60e064e9F4B1300a87753c8
|
||||
# in wei
|
||||
DESIRED_FEE=10000000000000000
|
2
index.js
2
index.js
@ -24,7 +24,7 @@ const gasPrices = { fast: defaultGasPrice }
|
||||
|
||||
app.get('/', function (req, res) {
|
||||
// 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) => {
|
||||
|
@ -218,13 +218,13 @@
|
||||
"anonymous": false,
|
||||
"inputs": [
|
||||
{
|
||||
"indexed": false,
|
||||
"name": "from",
|
||||
"type": "address"
|
||||
"indexed": true,
|
||||
"name": "commitment",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"indexed": false,
|
||||
"name": "commitment",
|
||||
"name": "leafIndex",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
@ -253,23 +253,6 @@
|
||||
"name": "Withdraw",
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"anonymous": false,
|
||||
"inputs": [
|
||||
{
|
||||
"indexed": false,
|
||||
"name": "leaf",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"indexed": false,
|
||||
"name": "leaf_index",
|
||||
"type": "uint32"
|
||||
}
|
||||
],
|
||||
"name": "LeafAdded",
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
@ -329,4 +312,4 @@
|
||||
"stateMutability": "view",
|
||||
"type": "function"
|
||||
}
|
||||
]
|
||||
]
|
Loading…
Reference in New Issue
Block a user