Giter VIP home page Giter VIP logo

ansible-private-chain's Introduction

ansible-private-chain

Setup

$ ansible-playbook -i ansible-playbook/ec2 ansible-playbook/ubuntu.yml --extra-vars "@example.config.json"

Check

curl -X POST --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}' -H "Content-Type: application/json" ${HOSTNAME}:8080/87b298c45ffd71385d0dda6a0a7cb43e151efbb2

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xf61CaF985B554e6370fDa9242e4E9808Cfe85de3", "latest"],"id":67}' -H "Content-Type: application/json" ${HOSTNAME}:8080/87b298c45ffd71385d0dda6a0a7cb43e151efbb2

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from": "0xf61CaF985B554e6370fDa9242e4E9808Cfe85de3", "to": "0xf61CaF985B554e6370fDa9242e4E9808Cfe85de3", "value": "0x9184e72a"}],"id":67}' -H "Content-Type: application/json" ${HOSTNAME}:8080/87b298c45ffd71385d0dda6a0a7cb43e151efbb2

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x0336457a731d33aea48de52836c11e5fb2b2bad2f0dc65f59b439e976fd4a843"],"id":67}' -H "Content-Type: application/json" ${HOSTNAME}:8080/87b298c45ffd71385d0dda6a0a7cb43e151efbb2

TODO

  • update inventory
  • update addresses
  • update nginx path

Memo

address: 0xf61CaF985B554e6370fDa9242e4E9808Cfe85de3 private key: 4868DAEB318EB5640B934987E3941D4FC6D58EA2467584397AB39A2442296AE5

ansible-private-chain's People

Contributors

odanado avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.