Skip to content

Instantly share code, notes, and snippets.

@adyshimony
Last active February 15, 2018 06:26
Show Gist options
  • Save adyshimony/03420917ec8e8f2382da7688f2dbd990 to your computer and use it in GitHub Desktop.
Save adyshimony/03420917ec8e8f2382da7688f2dbd990 to your computer and use it in GitHub Desktop.
Basic install instructions
install parity
bash <(curl https://get.parity.io -Lk) -r stable
run parity
parity --no-warp --cache-size 2048
install couchdb. Make sure to create admin user on installation.
couchdb installation, "xenial" is for ubuntu.
echo "deb https://apache.bintray.com/couchdb-deb xenial main" \
| sudo tee -a /etc/apt/sources.list
For non ubuntu read more here
http://docs.couchdb.org/en/2.0.0/install/unix.html
clone git
https://github.com/adyshimony/ether-super-node.git
run npm install
edit config for indexer - db user and pass
https://github.com/adyshimony/ether-super-node/tree/master/indexer/src/config
same for rest
https://github.com/adyshimony/ether-super-node/blob/master/rest-api/src/config/config.ts
run indexer
npm run dev-index
run rest
npm run dev-rest
rest commands:
pending tx:
// mempool/txs[address]
http://127.0.0.1:3000/mempool/txs/0xD551234Ae421e3BCBA99A0Da6d736074f22192FF
// account/address/[limit]
http://127.0.0.1:3000/account/0x93E682107d1E9defB0b5ee701C71707a4B2E46Bc
// tokens/address/contractAddress/[limit]
http://127.0.0.1:3000/tokens/0x0047A8033CC6d6Ca2ED5044674Fd421F44884dE8/0x07d1C321Db7F9241B67eE751f41aE587682092b5
* limit is 50 by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment