Ethereum transaction importer for Beancount
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
beancount-ethereum-1.4.3.tar.gz
(17.0 kB
view details)
Built Distribution
File details
Details for the file beancount-ethereum-1.4.3.tar.gz
.
File metadata
- Download URL: beancount-ethereum-1.4.3.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ebe23700d84bab84fde30c981b37823a593b8ea0e9168823a7eae813751d60 |
|
MD5 | 39ec27d9a88efd53c76c5433c0dfe287 |
|
BLAKE2b-256 | 0eceb10dcdc6a783819f42474149f27f2137c338d1be9185421728982eb5c21b |
File details
Details for the file beancount_ethereum-1.4.3-py3-none-any.whl
.
File metadata
- Download URL: beancount_ethereum-1.4.3-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f96590a5ad01b4ea92aa213d85fc26191635c0569e314ee4de38c2a5cc78b2 |
|
MD5 | 93194bc4358ebe9097f4bf9d0d71333b |
|
BLAKE2b-256 | 5311c738998a8fdad6a7a4d848d3e133e5ed04dc04e826690475ae70ff608921 |