ethereum/eth-account

Name: eth-account

Owner: ethereum

Description: STUB

Created: 2018-01-24 20:32:30.0

Updated: 2018-05-24 06:23:24.0

Pushed: 2018-05-23 23:57:43.0

Homepage: null

Size: 87

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

eth-account

Join the chat at https://gitter.im/ethereum/eth-account Build Status PyPI version Python versions Docs build

Sign Ethereum transactions and messages with local private keys

Read more in the documentation on ReadTheDocs. View the change log

Quickstart
install eth-account
Developer setup

If you would like to hack on eth-account, please check out the Ethereum Development Tactical Manual for information on how we do:

Development Environment Setup

You can set up your dev environment with:

clone git@github.com:ethereum/eth-account.git
th-account
ualenv -p python3 venv
nv/bin/activate
install -e .[dev]
Testing Setup

During development, you might like to have tests run on every file save.

Show flake8 errors on file change:

st flake8
-changed -v -s -r -1 eth_account/ tests/ -c "clear; flake8 eth_account tests && echo 'flake8 success' || echo 'error'"

Run multi-process tests in one command, but without color:

 the project root:
st --numprocesses=4 --looponfail --maxfail=1
e same thing, succinctly:
st -n 4 -f --maxfail=1

Run in one thread, with color and desktop notifications:

env
--onfail "notify-send -t 5000 'Test failure ?????' 'python 3 test on eth-account failed'" ../tests ../eth_account
Release setup

For Debian-like systems:

install pandoc

To release a new version:

 release bump=$$VERSION_PART_TO_BUMP$$
How to bumpversion

The version format for this repo is {major}.{minor}.{patch} for stable, and {major}.{minor}.{patch}-{stage}.{devnum} for unstable (stage can be alpha or beta).

To issue the next version in line, specify which part to bump, like make release bump=minor or make release bump=devnum.

If you are in a beta version, make release bump=stage will switch to a stable.

To issue an unstable version when the current version is stable, specify the new version explicitly, like make release bump="--new-version 4.0.0-alpha.1 devnum"


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.