├── .dependencies_installed ├── .dockerignore ├── .env.example ├── .env.validator ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── Dockerfile ├── Dockerfile.migrations ├── LICENSE ├── Makefile ├── README.md ├── Synth Whitepaper v1.pdf ├── alembic.ini ├── alembic ├── README ├── env.py ├── script.py.mako └── versions │ ├── 09dc2532fe57_add_input_params_for_miner_predictions.py │ ├── 1154ae96bd0a_add_table_for_miner_rewards.py │ ├── 11691bf7d981_add_validator_requests_table.py │ ├── 2b28a1b95303_add_column_rewards_prompt_name.py │ ├── 3ae76bddd86f_add_index_on_miner_predictions.py │ ├── 448fada07788_add_columns_reward_and_real_prices_to_.py │ ├── 4cecf5cce9ca_add_prompt_score_v2.py │ ├── 4f05e794f2b2_add_predictions_deleted_at_column.py │ ├── 627fae0edb48_add_metagraph_ip_address.py │ ├── 64c3f718c191_create_metagraph_hisotry_table.py │ ├── 6778da854170_add_scored_time_to_miner_scores_table.py │ ├── 6ebc15f2e397_add_prompt_score_v3.py │ ├── 70f4a9879daf_add_miner_table.py │ ├── 7ac6116f3b80_add_updated_at_created_at_for_miner_.py │ ├── 7eeae448469e_create_miner_rewards_table.py │ ├── 8b8ee3e62171_add_index_to_miner_predictions_table_.py │ ├── 9425131da02a_create_new_miner_predictions_table.py │ ├── 9468ab71357e_rename_tables_and_columns.py │ ├── 97d9545aafd4_weights_update_history.py │ ├── 9a64d1298abc_alter_miner_scores_on_delete_cascade.py │ ├── 9f5c6d18896d_add_table_for_miner_predictions.py │ ├── a00eb91223cd_remove_duplicate_prompt_score_v3.py │ ├── a122779998c1_add_process_time_column_in_miner_.py │ ├── a1ced3e8532d_miner_scores_column_renaming.py │ ├── a24a5f5c0ec8_delete_old_predictions_table.py │ ├── a361b28ffa14_add_request_time_column_in_validator_.py │ ├── a8ca503ab8ec_add_prediction_is_valid_column_in_.py │ ├── a9177927599a_create_miner_scores_table.py │ ├── a9227b0cb10b_move_real_paths_to_prompt.py │ ├── bc6d5957a826_remove_start_time_column_and_rename_.py │ ├── c03e71fa935b_miner_scores_unique_constraint.py │ ├── c5b7c635f0a8_add_created_at.py │ ├── d0a95572a74c_add_normalized_uids_and_columns_to_.py │ ├── d45ce8e801b8_delete_duplicates_in_miner_scores.py │ ├── dba3765d2374_add_column_prediction_to_miner_.py │ ├── e00913dea20f_add_pruning_score_column_to_metagraph_.py │ └── f45a0fe27a22_remove_column_from_miner_scores_and_.py ├── contrib ├── CODE_REVIEW_DOCS.md ├── CONTRIBUTING.md ├── DEVELOPMENT_WORKFLOW.md └── STYLE.md ├── dca ├── .gitignore ├── __init__.py ├── config.example.yaml ├── ranks.yaml ├── stake.py ├── unstake.py └── utils.py ├── docker-compose.yaml ├── docs ├── images │ ├── adjusted_score.png │ ├── banner_logo.svg │ ├── crps_equation.png │ ├── logo.png │ ├── normalized_score.png │ ├── prize_allocation.png │ ├── sma.png │ └── synth_diagram@1920x1080.png ├── miner_reference.md ├── miner_tutorial.md ├── stream_tutorial │ ├── README.md │ ├── client.py │ ├── config.py │ ├── miner.py │ └── protocol.py └── validator_guide.md ├── entrypoint-validator.sh ├── message_and_signature.txt ├── min_compute.yml ├── miner.config.js ├── miner.dev.config.js ├── miner.test.config.js ├── neurons ├── __init__.py ├── miner.py └── validator.py ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt ├── scripts ├── check_compatibility.sh ├── check_requirements_changes.sh └── install_staging.sh ├── setup.py ├── synth ├── __init__.py ├── api │ ├── __init__.py │ ├── example.py │ ├── get_query_axons.py │ ├── metagraph.py │ └── synth.py ├── base │ ├── __init__.py │ ├── dendrite.py │ ├── dendrite_multiprocess.py │ ├── miner.py │ ├── neuron.py │ ├── utils │ │ ├── __init__.py │ │ └── weight_utils.py │ └── validator.py ├── db │ ├── __init__.py │ └── models.py ├── miner │ ├── __init__.py │ ├── price_simulation.py │ ├── run.py │ └── simulations.py ├── protocol.py ├── simulation_input.py ├── subnet_links.py ├── utils │ ├── __init__.py │ ├── config.py │ ├── helpers.py │ ├── logging.py │ ├── misc.py │ ├── opening_hours.py │ └── uids.py └── validator │ ├── __init__.py │ ├── crps_calculation.py │ ├── forward.py │ ├── miner_data_handler.py │ ├── moving_average.py │ ├── price_data_provider.py │ ├── prompt_config.py │ ├── response_validation_v2.py │ └── reward.py ├── tests ├── __init__.py ├── conftest.py ├── cutoff_data_2_days.csv ├── cutoff_data_4_days.csv ├── test_calculate_crps.py ├── test_forward.py ├── test_helpers.py ├── test_miner_data_handler.py ├── test_moving_average.py ├── test_price_data_provider.py ├── test_response_validation.py ├── test_rewards.py ├── test_simulations.py └── utils.py ├── validator.config.js ├── validator.dev.config.js ├── validator.test.config.js └── verify ├── generate.py ├── hyperparameters.py ├── pyth-listing.py ├── speedtest.py ├── validator-permit.py └── verify.py /.dependencies_installed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/.env.example -------------------------------------------------------------------------------- /.env.validator: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/.env.validator -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.migrations: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/Dockerfile.migrations -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/README.md -------------------------------------------------------------------------------- /Synth Whitepaper v1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/Synth Whitepaper v1.pdf -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic.ini -------------------------------------------------------------------------------- /alembic/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/README -------------------------------------------------------------------------------- /alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/env.py -------------------------------------------------------------------------------- /alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/script.py.mako -------------------------------------------------------------------------------- /alembic/versions/09dc2532fe57_add_input_params_for_miner_predictions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/09dc2532fe57_add_input_params_for_miner_predictions.py -------------------------------------------------------------------------------- /alembic/versions/1154ae96bd0a_add_table_for_miner_rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/1154ae96bd0a_add_table_for_miner_rewards.py -------------------------------------------------------------------------------- /alembic/versions/11691bf7d981_add_validator_requests_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/11691bf7d981_add_validator_requests_table.py -------------------------------------------------------------------------------- /alembic/versions/2b28a1b95303_add_column_rewards_prompt_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/2b28a1b95303_add_column_rewards_prompt_name.py -------------------------------------------------------------------------------- /alembic/versions/3ae76bddd86f_add_index_on_miner_predictions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/3ae76bddd86f_add_index_on_miner_predictions.py -------------------------------------------------------------------------------- /alembic/versions/448fada07788_add_columns_reward_and_real_prices_to_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/448fada07788_add_columns_reward_and_real_prices_to_.py -------------------------------------------------------------------------------- /alembic/versions/4cecf5cce9ca_add_prompt_score_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/4cecf5cce9ca_add_prompt_score_v2.py -------------------------------------------------------------------------------- /alembic/versions/4f05e794f2b2_add_predictions_deleted_at_column.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/4f05e794f2b2_add_predictions_deleted_at_column.py -------------------------------------------------------------------------------- /alembic/versions/627fae0edb48_add_metagraph_ip_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/627fae0edb48_add_metagraph_ip_address.py -------------------------------------------------------------------------------- /alembic/versions/64c3f718c191_create_metagraph_hisotry_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/64c3f718c191_create_metagraph_hisotry_table.py -------------------------------------------------------------------------------- /alembic/versions/6778da854170_add_scored_time_to_miner_scores_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/6778da854170_add_scored_time_to_miner_scores_table.py -------------------------------------------------------------------------------- /alembic/versions/6ebc15f2e397_add_prompt_score_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/6ebc15f2e397_add_prompt_score_v3.py -------------------------------------------------------------------------------- /alembic/versions/70f4a9879daf_add_miner_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/70f4a9879daf_add_miner_table.py -------------------------------------------------------------------------------- /alembic/versions/7ac6116f3b80_add_updated_at_created_at_for_miner_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/7ac6116f3b80_add_updated_at_created_at_for_miner_.py -------------------------------------------------------------------------------- /alembic/versions/7eeae448469e_create_miner_rewards_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/7eeae448469e_create_miner_rewards_table.py -------------------------------------------------------------------------------- /alembic/versions/8b8ee3e62171_add_index_to_miner_predictions_table_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/8b8ee3e62171_add_index_to_miner_predictions_table_.py -------------------------------------------------------------------------------- /alembic/versions/9425131da02a_create_new_miner_predictions_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/9425131da02a_create_new_miner_predictions_table.py -------------------------------------------------------------------------------- /alembic/versions/9468ab71357e_rename_tables_and_columns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/9468ab71357e_rename_tables_and_columns.py -------------------------------------------------------------------------------- /alembic/versions/97d9545aafd4_weights_update_history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/97d9545aafd4_weights_update_history.py -------------------------------------------------------------------------------- /alembic/versions/9a64d1298abc_alter_miner_scores_on_delete_cascade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/9a64d1298abc_alter_miner_scores_on_delete_cascade.py -------------------------------------------------------------------------------- /alembic/versions/9f5c6d18896d_add_table_for_miner_predictions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/9f5c6d18896d_add_table_for_miner_predictions.py -------------------------------------------------------------------------------- /alembic/versions/a00eb91223cd_remove_duplicate_prompt_score_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a00eb91223cd_remove_duplicate_prompt_score_v3.py -------------------------------------------------------------------------------- /alembic/versions/a122779998c1_add_process_time_column_in_miner_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a122779998c1_add_process_time_column_in_miner_.py -------------------------------------------------------------------------------- /alembic/versions/a1ced3e8532d_miner_scores_column_renaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a1ced3e8532d_miner_scores_column_renaming.py -------------------------------------------------------------------------------- /alembic/versions/a24a5f5c0ec8_delete_old_predictions_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a24a5f5c0ec8_delete_old_predictions_table.py -------------------------------------------------------------------------------- /alembic/versions/a361b28ffa14_add_request_time_column_in_validator_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a361b28ffa14_add_request_time_column_in_validator_.py -------------------------------------------------------------------------------- /alembic/versions/a8ca503ab8ec_add_prediction_is_valid_column_in_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a8ca503ab8ec_add_prediction_is_valid_column_in_.py -------------------------------------------------------------------------------- /alembic/versions/a9177927599a_create_miner_scores_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a9177927599a_create_miner_scores_table.py -------------------------------------------------------------------------------- /alembic/versions/a9227b0cb10b_move_real_paths_to_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/a9227b0cb10b_move_real_paths_to_prompt.py -------------------------------------------------------------------------------- /alembic/versions/bc6d5957a826_remove_start_time_column_and_rename_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/bc6d5957a826_remove_start_time_column_and_rename_.py -------------------------------------------------------------------------------- /alembic/versions/c03e71fa935b_miner_scores_unique_constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/c03e71fa935b_miner_scores_unique_constraint.py -------------------------------------------------------------------------------- /alembic/versions/c5b7c635f0a8_add_created_at.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/c5b7c635f0a8_add_created_at.py -------------------------------------------------------------------------------- /alembic/versions/d0a95572a74c_add_normalized_uids_and_columns_to_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/d0a95572a74c_add_normalized_uids_and_columns_to_.py -------------------------------------------------------------------------------- /alembic/versions/d45ce8e801b8_delete_duplicates_in_miner_scores.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/d45ce8e801b8_delete_duplicates_in_miner_scores.py -------------------------------------------------------------------------------- /alembic/versions/dba3765d2374_add_column_prediction_to_miner_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/dba3765d2374_add_column_prediction_to_miner_.py -------------------------------------------------------------------------------- /alembic/versions/e00913dea20f_add_pruning_score_column_to_metagraph_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/e00913dea20f_add_pruning_score_column_to_metagraph_.py -------------------------------------------------------------------------------- /alembic/versions/f45a0fe27a22_remove_column_from_miner_scores_and_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/alembic/versions/f45a0fe27a22_remove_column_from_miner_scores_and_.py -------------------------------------------------------------------------------- /contrib/CODE_REVIEW_DOCS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/contrib/CODE_REVIEW_DOCS.md -------------------------------------------------------------------------------- /contrib/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/contrib/CONTRIBUTING.md -------------------------------------------------------------------------------- /contrib/DEVELOPMENT_WORKFLOW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/contrib/DEVELOPMENT_WORKFLOW.md -------------------------------------------------------------------------------- /contrib/STYLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/contrib/STYLE.md -------------------------------------------------------------------------------- /dca/.gitignore: -------------------------------------------------------------------------------- 1 | config.yaml 2 | -------------------------------------------------------------------------------- /dca/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dca/config.example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/dca/config.example.yaml -------------------------------------------------------------------------------- /dca/ranks.yaml: -------------------------------------------------------------------------------- 1 | ranks: 2 | - 50 3 | -------------------------------------------------------------------------------- /dca/stake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/dca/stake.py -------------------------------------------------------------------------------- /dca/unstake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/dca/unstake.py -------------------------------------------------------------------------------- /dca/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/dca/utils.py -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/images/adjusted_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/adjusted_score.png -------------------------------------------------------------------------------- /docs/images/banner_logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/banner_logo.svg -------------------------------------------------------------------------------- /docs/images/crps_equation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/crps_equation.png -------------------------------------------------------------------------------- /docs/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/logo.png -------------------------------------------------------------------------------- /docs/images/normalized_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/normalized_score.png -------------------------------------------------------------------------------- /docs/images/prize_allocation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/prize_allocation.png -------------------------------------------------------------------------------- /docs/images/sma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/sma.png -------------------------------------------------------------------------------- /docs/images/synth_diagram@1920x1080.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/images/synth_diagram@1920x1080.png -------------------------------------------------------------------------------- /docs/miner_reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/miner_reference.md -------------------------------------------------------------------------------- /docs/miner_tutorial.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/miner_tutorial.md -------------------------------------------------------------------------------- /docs/stream_tutorial/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/stream_tutorial/README.md -------------------------------------------------------------------------------- /docs/stream_tutorial/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/stream_tutorial/client.py -------------------------------------------------------------------------------- /docs/stream_tutorial/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/stream_tutorial/config.py -------------------------------------------------------------------------------- /docs/stream_tutorial/miner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/stream_tutorial/miner.py -------------------------------------------------------------------------------- /docs/stream_tutorial/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/stream_tutorial/protocol.py -------------------------------------------------------------------------------- /docs/validator_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/docs/validator_guide.md -------------------------------------------------------------------------------- /entrypoint-validator.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/entrypoint-validator.sh -------------------------------------------------------------------------------- /message_and_signature.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/message_and_signature.txt -------------------------------------------------------------------------------- /min_compute.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/min_compute.yml -------------------------------------------------------------------------------- /miner.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/miner.config.js -------------------------------------------------------------------------------- /miner.dev.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/miner.dev.config.js -------------------------------------------------------------------------------- /miner.test.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/miner.test.config.js -------------------------------------------------------------------------------- /neurons/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /neurons/miner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/neurons/miner.py -------------------------------------------------------------------------------- /neurons/validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/neurons/validator.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/check_compatibility.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/scripts/check_compatibility.sh -------------------------------------------------------------------------------- /scripts/check_requirements_changes.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/scripts/check_requirements_changes.sh -------------------------------------------------------------------------------- /scripts/install_staging.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/scripts/install_staging.sh -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/setup.py -------------------------------------------------------------------------------- /synth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/__init__.py -------------------------------------------------------------------------------- /synth/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/api/__init__.py -------------------------------------------------------------------------------- /synth/api/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/api/example.py -------------------------------------------------------------------------------- /synth/api/get_query_axons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/api/get_query_axons.py -------------------------------------------------------------------------------- /synth/api/metagraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/api/metagraph.py -------------------------------------------------------------------------------- /synth/api/synth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/api/synth.py -------------------------------------------------------------------------------- /synth/base/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /synth/base/dendrite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/base/dendrite.py -------------------------------------------------------------------------------- /synth/base/dendrite_multiprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/base/dendrite_multiprocess.py -------------------------------------------------------------------------------- /synth/base/miner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/base/miner.py -------------------------------------------------------------------------------- /synth/base/neuron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/base/neuron.py -------------------------------------------------------------------------------- /synth/base/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /synth/base/utils/weight_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/base/utils/weight_utils.py -------------------------------------------------------------------------------- /synth/base/validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/base/validator.py -------------------------------------------------------------------------------- /synth/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /synth/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/db/models.py -------------------------------------------------------------------------------- /synth/miner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /synth/miner/price_simulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/miner/price_simulation.py -------------------------------------------------------------------------------- /synth/miner/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/miner/run.py -------------------------------------------------------------------------------- /synth/miner/simulations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/miner/simulations.py -------------------------------------------------------------------------------- /synth/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/protocol.py -------------------------------------------------------------------------------- /synth/simulation_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/simulation_input.py -------------------------------------------------------------------------------- /synth/subnet_links.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/subnet_links.py -------------------------------------------------------------------------------- /synth/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /synth/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/utils/config.py -------------------------------------------------------------------------------- /synth/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/utils/helpers.py -------------------------------------------------------------------------------- /synth/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/utils/logging.py -------------------------------------------------------------------------------- /synth/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/utils/misc.py -------------------------------------------------------------------------------- /synth/utils/opening_hours.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/utils/opening_hours.py -------------------------------------------------------------------------------- /synth/utils/uids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/utils/uids.py -------------------------------------------------------------------------------- /synth/validator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /synth/validator/crps_calculation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/crps_calculation.py -------------------------------------------------------------------------------- /synth/validator/forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/forward.py -------------------------------------------------------------------------------- /synth/validator/miner_data_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/miner_data_handler.py -------------------------------------------------------------------------------- /synth/validator/moving_average.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/moving_average.py -------------------------------------------------------------------------------- /synth/validator/price_data_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/price_data_provider.py -------------------------------------------------------------------------------- /synth/validator/prompt_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/prompt_config.py -------------------------------------------------------------------------------- /synth/validator/response_validation_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/response_validation_v2.py -------------------------------------------------------------------------------- /synth/validator/reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/synth/validator/reward.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/cutoff_data_2_days.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/cutoff_data_2_days.csv -------------------------------------------------------------------------------- /tests/cutoff_data_4_days.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/cutoff_data_4_days.csv -------------------------------------------------------------------------------- /tests/test_calculate_crps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_calculate_crps.py -------------------------------------------------------------------------------- /tests/test_forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_forward.py -------------------------------------------------------------------------------- /tests/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_helpers.py -------------------------------------------------------------------------------- /tests/test_miner_data_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_miner_data_handler.py -------------------------------------------------------------------------------- /tests/test_moving_average.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_moving_average.py -------------------------------------------------------------------------------- /tests/test_price_data_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_price_data_provider.py -------------------------------------------------------------------------------- /tests/test_response_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_response_validation.py -------------------------------------------------------------------------------- /tests/test_rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_rewards.py -------------------------------------------------------------------------------- /tests/test_simulations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/test_simulations.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/tests/utils.py -------------------------------------------------------------------------------- /validator.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/validator.config.js -------------------------------------------------------------------------------- /validator.dev.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/validator.dev.config.js -------------------------------------------------------------------------------- /validator.test.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/validator.test.config.js -------------------------------------------------------------------------------- /verify/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/verify/generate.py -------------------------------------------------------------------------------- /verify/hyperparameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/verify/hyperparameters.py -------------------------------------------------------------------------------- /verify/pyth-listing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/verify/pyth-listing.py -------------------------------------------------------------------------------- /verify/speedtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/verify/speedtest.py -------------------------------------------------------------------------------- /verify/validator-permit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/verify/validator-permit.py -------------------------------------------------------------------------------- /verify/verify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mode-network/synth-subnet/HEAD/verify/verify.py --------------------------------------------------------------------------------