The directory contains frontend part of the app
$ npm start
The directory contains backend part. It's an API for requesting transaction history from etherscan.io
It's listening on the port 3001
- Get API key from
etherscan.io
. - Get API key from Dune company.
- Gen projectId from
walletconnect.com
. - Add api keys to the file:
.env
(based on.env.example
). - Add walletconnect projectId to the
frontend/src/consts/walletconnect.js
.
$ npm start
Example query URLs:
- transaction history last 30 days:
- balance last 30 days (powered by duna)
SELECT
SUM(value) as value
FROM ethereum.transactions
WHERE
from="0x89e5916c19df9a7e3da2584f8ad3ee2d2e6bd3c6" AND
block_time > now() - interval '30 days'
UNION SELECT
SUM(value) as value
FROM ethereum.transactions
WHERE
to="0x89e5916c19df9a7e3da2584f8ad3ee2d2e6bd3c6" AND
block_time > now() - interval '30 days'