Skip to content

tranvictor/jarvis

Repository files navigation

jarvis

Ethereum automation made easy to human

If you like Jarvis You can buy me a cup of coffee by sending any tokens to

0xe4d747cbdd6e8e5dd57db6735b6410a29f5027eb

Both Ethereum and BSC :)

Installation

MacOS via Homebrew

brew install tranvictor/jarvis/jarvis

or to upgrade jarvis to the latest version

brew upgrade jarvis

Build from source

Ubuntu Build

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install go-1.12
GO111MODULE=on /usr/lib/go-1.12/bin/go get github.com/tranvictor/jarvis@v0.0.1
GO111MODULE=on /usr/lib/go-1.12/bin/go install github.com/tranvictor/jarvis

jarvis command will be installed to ~/go/bin

MacOS Build

  1. Download and install Go v1.12 here
GO111MODULE=on go get github.com/tranvictor/jarvis
GO111MODULE=on go install github.com/tranvictor/jarvis

jarvis binary file will be placed at $GOPATH/bin/

If the installation process returned errors, try to clear Go module cache at $GOPATH/pkg/mod

  1. Try $GOPATH/bin/jarvis --help
  2. Add Jarvis to PATH, and relevant addresses.json

Windows Build

Install mingw-w64 from here Add mingw-64 bin folder to PATH Go to jarvis folder and using following command to build

go build -v

There should be jarvis.exe file. Add jarvis to PATH (optional)

Jarvis works on cmd, proshell but will not have color. Windows Terminal and Gitbash support color

How to use it

See help with

~/go/bin/jarvis -h

Ledger on Ubuntu

Add the rules and reload udev. More infomation see here

wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash

Configure custom nodes

Custom node is load from ~/nodes.json This settings will override all default nodes If any supported network is not define it will use default nodes

{
  "mainnet": {
    "infura": "infura_link",
    "alchemy": "alchemy_link"
  },
  "bsc": {
  }
}