Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Conversation

@austinabell
Copy link

To run:

make install 
rm -rf ~/.emint*
emintd init moniker --chain-id 3
emintcli config chain-id 3
emintcli config output json
emintcli config indent true
emintcli config trust-node true
emintcli emintkeys add austineth
testpass
testpass
# Add any other keys here
emintcli rest-server --laddr "tcp://localhost:8545"

Test:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}' -H "Content-Type: application/json" http://localhost:8545/rpc
# With Accounts: {"jsonrpc":"2.0","id":1,"result":["0x030332fd5114667ca29b9a73e005333d8fd013cb","0x3442b1b15c5987cd4ed1c08e2ba3dd40d3542b9f"]}
# Without accounts: {"jsonrpc":"2.0","id":1,"result":[]}

@austinabell austinabell merged commit 02047bf into development Sep 18, 2019
@austinabell austinabell deleted the austin/eth_accounts branch September 18, 2019 19:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants