Skip to main content

Ethereum transaction importer for Beancount

Configuration

Example of configuration file: config.json.

beancount-ethereum can load data from Etherscan or block explorers with similar API like Blockscout.

If you are using Etherscan, get your API key at https://etherscan.io/.

Install

Install beancount-ethereum:

pip install beancount-ethereum

To install from source:

pip install -e .

Usage

Download transactions to file:

beancount-ethereum --config=config.json --output-dir=downloads

Add importer to import configuration (example):

import beancount_ethereum

CONFIG = [
    beancount_ethereum.importer.Importer(config_path='config.json'),
]

Check with bean-identify:

bean-identify import_config.py downloads

Import transactions with bean-extract:

bean-extract -e test.beancount import_config.py downloads

Deploy

Deploy beancount-ethereum:

make deploy

Metadata

Release files for beancount-ethereum 1.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beancount-ethereum 1.4.3
File Size Uploaded
beancount-ethereum-1.4.3.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beancount-ethereum 1.4.3
File Interpreter ABI Platform
beancount_ethereum-1.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 35.0 kB

Release files / beancount-ethereum-1.4.3.tar.gz

Download URL beancount-ethereum-1.4.3.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
20ebe23700d84bab84fde30c981b37823a593b8ea0e9168823a7eae813751d60
BLAKE2b-256 checksum
How to use checksums
0eceb10dcdc6a783819f42474149f27f2137c338d1be9185421728982eb5c21b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.5

Release files / beancount_ethereum-1.4.3-py3-none-any.whl

Download URL beancount_ethereum-1.4.3-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90f96590a5ad01b4ea92aa213d85fc26191635c0569e314ee4de38c2a5cc78b2
BLAKE2b-256 checksum
How to use checksums
5311c738998a8fdad6a7a4d848d3e133e5ed04dc04e826690475ae70ff608921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.4.3 This release

2 release files

1.4.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page