pyaleph
Next generation network of decentralized big data applications. Current connected chains: Ethereum, Solana, Polkadot/Substrate, Cosmos-SDK, NULS.
File Explorer
Download Latest Version (.zip)- build.yml
- code-quality.yml
- pytest.yml
- test-keygen.yml
- dependabot.yml
- openssl-ci.cnf
- PULL_REQUEST_TEMPLATE.md
- config.yml
- docker-compose.yml
- Dockerfile
- kubo.json
- config.yml
- docker-compose.yml
- Dockerfile
- kubo.json
- build.sh
- config.yml
- docker-compose.yml
- get_version.sh
- kubo.json
- openssl.cnf.patch
- publish.sh
- pyaleph.dockerfile
- README.md
- 0001_dbcc4e3ff1e0_initial_migration_to_postgres.py
- 0002_7365b4898472_programs.py
- 0003_89d74331994c_balances.py
- 0004_82e0f9c7a952_error_codes.py
- 0005_68fd4bed8a8e_program_versions.py
- 0006_7b547d707a2f_exponential_retries.py
- 0007_0bfde82697c8_balance_views.py
- 0008_eef5f95853bf_trusted_messages.py
- 0009_8edf69c47884_file_pin_owner_index.py
- 0010_8a5eaab15d40_address_stats_view.py
- 0011_b8e019bf7710_split_sync_and_message_chain_sync_.py
- 0012_7a7704f044db_indexer_sync_status.py
- 0013_7ab62bd0a3b1_messages_post_index.py
- 0014_daa92b500049_message_content_in_file_pins.py
- 0015_039c56d3b33e_file_size_not_null.py
- 0016_77e68941d36c_fix_ipfs_files_size.py
- 0017_f9fa39b6bdef_vm_instances.py
- 0018_7bcb8e5fe186_fix_vm_cost_view.py
- 0019_3bf484f2cc95_tx_hash_in_rejected_messages.py
- 0020_88a25ae08ebf_grace_period_file_pins.py
- 0021_08602db6c78f_ccn_metric_view.py
- 0022_e682fc8f9506_fix_vm_costs_view.py
- 0023_add_trusted_execution_fields_to_vms_.py
- 0024__update_price_instance.py
- 0025_update_vms_tables.py
- 0026_d3bba5c2bfa0_fix_join_exclude_vm_without_volume.py
- 0027_bafd49315934_add_pending_messages_origin.py
- 0028_edb195b0ed62_fix_add_unique_constraint_on_pending_.py
- 0029_46f7e55ff55c_fix_uniqueconstraint_should_have_sender_.py
- 0030_9e600f404aa1_add_new_error_code_on_db.py
- 0031_d8e9852e5775_fix_compute_message_status_on_vm_cost_.py
- 0032_a3ef27f0db81_fix_duplicated_forgotten_messages.py
- 0033_1c06d0ade60c_calculate_costs_statically.py
- 0034_8ece21fbeb47_balance_tracker.py
- 0035_35a67ccc4451_add_pending_message_index_on_time_field.py
- 0036_a1b2c3d4e5f6_add_credit_balances_table.py
- 0037_b7c8d9e0f1a2_add_cost_credit_column.py
- 0038_c8d9e0f1a2b3_add_credit_balance_cron_job.py
- 0039_d0e1f2a3b4c5_add_credit_history_expiration_date_index.py
- 0040_e1f2a3b4c5d6_rename_credit_history_ratio_to_price.py
- 0041_d6539a42cd51_create_address_summary_view.py
- 0042_f2a3b4c5d6e7_credit_precision_multiplier.py
- 0043_a1b2c3d4e5f7_add_payment_type_index.py
- 0044_b2c3d4e5f6a7_add_costs_performance_indexes.py
- 0045_a3b4c5d6e7f8_store_hold_not_allowed_error_code.py
- 0046_b4c5d6e7f8a9_add_denorm_columns_to_messages.py
- 0047_d6e7f8a9b0c1_create_message_counts.py
- 0048_e7f8a9b0c1d2_backfill_denorm_columns.py
- 0049_c5d6e7f8a9b0_add_denorm_indexes.py
- 0050_f8a9b0c1d2e3_populate_message_counts.py
- 0051_d4e5f6a7b8c9_cascade_delete_confirmations.py
- 0052_e5f6a7b8c9d0_fix_tags_gin_index_syntax.py
- 0053_f6a7b8c9d0e1_add_file_pins_coalesced_ref_index.py
- 0054_0a1b2c3d4e5f_backfill_payment_type_on_messages.py
- 0055_b3c4d5e6f7a8_security_authorizations_gin_index.py
- 0056_7e5a630e4b36_denormalize_message_tags.py
- 0057_a8c3d9f1b2e4_credit_balances_lot_cache.py
- 0058_4f1e8d2a6c3b_posts_owner_type_channel_index.py
- 0059_b9c4f1e6a2d7_persist_node_metrics.py
- 0060_a1d4e7b2c9f6_credit_history_address_timestamp_index.py
- 0061_c7e2f9a4b1d3_forgotten_messages_billing_metadata.py
- 0062_e4a8c2d6f1b9_credit_history_expense_aggregates.py
- 0063_f4b8a2d7c1e9_removed_messages_table.py
- 0064_a7c3e9f2d5b1_vprogram_vms_rows.py
- 0065_b3d7f1a9c4e2_remove_double_charged_credit_expenses.py
- 0066_c1e8b4a9d3f2_snapshot_observed_time.py
- env.py
- README
- script.py.mako
- docker-compose.yml
- README.md
- sample-config.yml
- dashboard.json
- dashboard.json
- dashboard.yaml
- prometheus.yaml
- docker-compose.yml
- prometheus.yml
- README.md
- sample-config.yml
- README.md
- 001-update-ipfs-config.sh
- auth_token.py
- extract_requirements.py
- get_config_value.py
- reject_processed_messages.py
- run_aleph_ccn.sh
- run_aleph_ccn_api.sh
- sync_initial_messages.py
- wait-for-it.sh
- wait_for_services.sh
- __init__.py
- .gitignore
- architecture-stack.pdf
- architecture-stack.png
- PyAleph architecture.graphml
- index.rst
- install.rst
- private_net.rst
- upgrade.rst
- aggregate.rst
- forget.rst
- index.rst
- post.rst
- program.rst
- store.rst
- authorizations.rst
- index.rst
- payment.rst
- architecture.rst
- authors.rst
- changelog.rst
- conf.py
- index.rst
- license.rst
- Makefile
- metrics.rst
- node-synchronisation.rst
- requirements.txt
- ethereum_sc.sol
- ethereum_sc_abi.json
- __init__.py
- abc.py
- avalanche.py
- bsc.py
- chain_data_service.py
- common.py
- connector.py
- cosmos.py
- ethereum.py
- evm.py
- indexer_reader.py
- nuls.py
- nuls2.py
- nuls_aleph_sdk.py
- signature_verifier.py
- solana.py
- substrate.py
- tezos.py
- __init__.py
- args.py
- __init__.py
- address_stats.py
- aggregates.py
- authorizations.py
- balances.py
- chains.py
- cost.py
- cron_jobs.py
- files.py
- messages.py
- metrics.py
- peers.py
- pending_messages.py
- pending_txs.py
- posts.py
- vms.py
- __init__.py
- account_costs.py
- aggregates.py
- balances.py
- base.py
- chains.py
- cron_jobs.py
- files.py
- message_counts.py
- messages.py
- metrics.py
- peers.py
- pending_messages.py
- pending_txs.py
- posts.py
- vms.py
- __init__.py
- connection.py
- __init__.py
- aggregate.py
- content_handler.py
- forget.py
- post.py
- store.py
- vm.py
- vprogram.py
- __init__.py
- message_handler.py
- balance_job.py
- credit_balance_job.py
- cron_job.py
- metrics_partition_job.py
- __init__.py
- fetch_pending_messages.py
- job_utils.py
- process_pending_messages.py
- process_pending_txs.py
- reconnect_ipfs.py
- __init__.py
- accounts.py
- costs.py
- messages.py
- __init__.py
- indexer_response.py
- sync_events.py
- tezos_indexer_response.py
- tx_context.py
- __init__.py
- addresses_query_params.py
- base_messages.py
- cost_estimation_messages.py
- credit_transfer.py
- message_confirmation.py
- message_content.py
- messages_query_params.py
- pending_messages.py
- __init__.py
- node_cache.py
- __init__.py
- common.py
- pubsub.py
- service.py
- __init__.py
- http.py
- jobs.py
- manager.py
- peers.py
- protocol.py
- pubsub.py
- __init__.py
- allowlist.py
- monitor.py
- publish.py
- __init__.py
- engine.py
- fileystem_engine.py
- garbage_collector.py
- __init__.py
- cost.py
- cost_validation.py
- keys.py
- pricing_utils.py
- utils.py
- __init__.py
- crypto.proto
- crypto_pb2.py
- crypto_pb2.pyi
- __init__.py
- keys.py
- rsa.py
- __init__.py
- id.py
- peerinfo.py
- __init__.py
- README.md
- __init__.py
- aggregates.py
- batch.py
- car.py
- constants.py
- costs.py
- cursor.py
- ecdsa.py
- exceptions.py
- json.py
- lifecycle.py
- logging.py
- metrics_keys.py
- monitoring.py
- partitions.py
- rabbitmq.py
- range.py
- shield.py
- split.py
- timer.py
- timestamp.py
- __init__.py
- chain_sync.py
- channel.py
- content_format.py
- cost.py
- credit.py
- db_session.py
- files.py
- message_processing_result.py
- message_status.py
- protocol.py
- settings.py
- sort_order.py
- vms.py
- __init__.py
- accounts.py
- aggregates.py
- app_state_getters.py
- authorizations.py
- channels.py
- components.yaml
- info.py
- ipfs.py
- main.py
- messages.py
- metrics.py
- p2p.py
- posts.py
- prices.py
- programs.py
- routes.py
- storage.py
- utils.py
- version.py
- IBMPlexMono-Bold.ttf
- IBMPlexMono-Light.ttf
- __init__.py
- aleph-cloud-v1.svg
- aleph-cloud-v2.svg
- aleph-logo.svg
- helpers.js
- __init__.py
- index.html
- __init__.py
- __init__.py
- api_entrypoint.py
- commands.py
- config.py
- exceptions.py
- network.py
- permissions.py
- repair.py
- settings.py
- storage.py
- utils.py
- version.py
- fixture_aggregates.json
- fixture_messages.json
- fixture_posts.json
- test-metric.json
- __init__.py
- __init__.py
- conftest.py
- test_account_files.py
- test_accounts.py
- test_address_stats.py
- test_aggregates.py
- test_authorizations.py
- test_balance.py
- test_content_format.py
- test_costs.py
- test_credit_history.py
- test_cursor_pagination.py
- test_forgotten_price.py
- test_get_message.py
- test_ipfs.py
- test_list_forgotten_messages.py
- test_list_messages.py
- test_list_removed_messages.py
- test_new_metric.py
- test_p2p.py
- test_posts.py
- test_pricing_recalculation.py
- test_removed_price.py
- test_storage.py
- test_version.py
- test_vprogram_api.py
- test_balances.py
- test_aleph_indexer.py
- test_avalanche.py
- test_chain_data_service.py
- test_common.py
- test_confirmation.py
- test_cosmos.py
- test_ethereum.py
- test_evm.py
- test_nuls2.py
- test_pending_tx_publisher.py
- test_solana.py
- test_substrate.py
- test_tezos.py
- test_args.py
- test_accounts.py
- test_address_stats.py
- test_aggregates.py
- test_authorizations.py
- test_chains.py
- test_connection.py
- test_cost.py
- test_credit_balances.py
- test_error_codes.py
- test_files.py
- test_messages.py
- test_metrics_persistence.py
- test_peers.py
- test_pending_messages_db.py
- test_pending_txs.py
- test_posts.py
- test_programs_db.py
- test_vprograms_db.py
- car_test_utils.py
- in_memory_storage_engine.py
- message_test_helpers.py
- test_balance_job.py
- test_check_removing_messages.py
- test_credit_balance_job.py
- test_cron_job.py
- test_fetch_pending_messages.py
- test_jobs_runner.py
- test_metrics_partition_job.py
- test_process_pending_messages_cleanup.py
- test_retry_backoff.py
- test-data-aggregates.json
- test-data-forgotten-messages.json
- test-data-pending-messaging.json
- test-data-pending-tx-messages.json
- test-data-posts.json
- __init__.py
- conftest.py
- load_fixtures.py
- test_process_aggregates.py
- test_process_confidential.py
- test_process_forgets.py
- test_process_forgotten_messages.py
- test_process_instances.py
- test_process_pending_messages.py
- test_process_pending_txs.py
- test_process_posts.py
- test_process_programs.py
- test_process_stores.py
- test_process_vprograms.py
- __init__.py
- test_scoring_metrics.py
- test_vprogram.py
- test_check_sender_authorization.py
- test_forget_permissions.py
- test_credit_transfer.py
- test_pending_messages.py
- __init__.py
- test_cost_service.py
- test_cost_service_volumes.py
- test_cost_service_vprogram.py
- test_garbage_collector.py
- test_ipfs_common.py
- test_ipfs_dag_import.py
- test_ipfs_service.py
- test_node_cache.py
- test_p2p_http.py
- test_p2p_protocol.py
- test_pricing_utils.py
- test_utils.py
- test_get_content.py
- test_store_message.py
- test_batch.py
- test_car.py
- test_cursor.py
- test_ecdsa.py
- test_ignore_exceptions.py
- test_json.py
- test_lifecycle.py
- test_range.py
- test_timer.py
- test_timestamp.py
- test_sort_order.py
- program.json
- test_accounts_controllers.py
- test_channels.py
- test_message_broadcaster.py
- test_metrics.py
- test_metrics_api.py
- test_programs.py
- test_pub_json.py
- conftest.py
- test_network.py
- test_repair.py
- .coveragerc
- .dockerignore
- .gitignore
- .readthedocs.yml
- alembic.ini
- AUTHORS.rst
- CHANGELOG.rst
- CLAUDE.md
- code-of-conduct.md
- justfile
- LICENSE.txt
- mypy.ini
- pyproject.toml
- README.md
# Installation Guide
git clone https://github.com/aleph-im/pyaleph
Downloads the entire project code from GitHub to your computer.
cd pyaleph
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- APT (Debian/Ubuntu κ³μ΄) Built into Debian/Ubuntu-based Linux distributions.
sudo apt install python3 python3-pip python3-venv build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libgmp-dev libsecp256k1-dev
Installs directly from the APT package repository (Debian/Ubuntu-based).
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
cp deployment/docker-build/config.yml .
Type this command into your terminal and run it.
docker-compose -f deployment/docker-build/docker-compose.yml up -d
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
4. Python
Easysudo apt install python3 python3-pip python3-venv build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libgmp-dev libsecp256k1-dev
Installs directly from the APT package repository (Debian/Ubuntu-based).
python3 -m virtualenv venv
Runs the Python script (or module).
pip install -e .[testing,docs]
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
