0.1.5 • Published 8 years ago

ethereum-go-ipc v0.1.5

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

ethereum-go-ipc

Promisified Ethereum JSON RPC wrappers for Geth (Ethereum Go-Lang implementation)

Start Here

npm install ethereum-go-ipc --save

const geth = require("ethereum-go-ipc");

// default IPC path set to '/root/.ethereum/geth.ipc'
geth.setGethSocket("/path/to/geth.ipc");

// optional geth.delay(ms) for managing race conditions.
// Simply put, allow geth node time to load.

geth.delay(3000).then(() => {
  return geth.newAccount('password');
}).then((created) => {
  return geth.listAccounts();
}).then((accounts) => {
  console.log(accounts);
}).catch((error) => {
  console.log(error);
});

Notes

For a list of implemented methods, see exports:

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago