{"id":13619472,"url":"https://github.com/bitlayer-org/BitVM-Research","last_synced_at":"2025-04-14T16:31:36.743Z","repository":{"id":225214484,"uuid":"763503164","full_name":"bitlayer-org/BitVM-Research","owner":"bitlayer-org","description":"Opensource code to replicate the whole process of BitVM white paper","archived":false,"fork":false,"pushed_at":"2024-03-03T08:24:00.000Z","size":56,"stargazers_count":29,"open_issues_count":1,"forks_count":11,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2025-04-05T20:02:23.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitlayer-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-26T12:23:13.000Z","updated_at":"2025-01-10T02:36:24.000Z","dependencies_parsed_at":"2024-08-01T21:53:42.616Z","dependency_job_id":null,"html_url":"https://github.com/bitlayer-org/BitVM-Research","commit_stats":null,"previous_names":["bitlayer-org/bitvm-research"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitlayer-org%2FBitVM-Research","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitlayer-org%2FBitVM-Research/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitlayer-org%2FBitVM-Research/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitlayer-org%2FBitVM-Research/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitlayer-org","download_url":"https://codeload.github.com/bitlayer-org/BitVM-Research/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248916654,"owners_count":21182846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T21:00:41.388Z","updated_at":"2025-04-14T16:31:34.578Z","avatar_url":"https://github.com/bitlayer-org.png","language":"TypeScript","funding_links":[],"categories":["Resources"],"sub_categories":["Potential Use Case"],"readme":"# BitVM-Research\n## Overview\nCurrently, this repository has implemented the complete processes of BitVM, which can help you understand them faster.\n\n## Article link\n\nhttps://bitlayerlabs.notion.site/Experiment-of-BitVM-White-Paper-ef87e719001e4e2d83765c68f1bb8443\n\n## Usage\n\n* node version\n\u003e use nvm to switch node version\n```\nnvm install v12.22.9\nnvm use v12.22.9\n```\n\n* .env file\n\n***REMEMBER* to modify the private key**\n\n```\ncp .env-tpl .env\n```\n\ntestnet faucet:\n```\nhttps://faucet.bitvmcn.xyz/\nhttps://testnet.help/en/btcfaucet/testnet#log\nhttps://coinfaucet.eu/en/\nhttps://bitcoinfaucet.uo1.net/send.php\n```\n\n### BitVM\nIf you want to run the normal process of BitVM, you can execute the following command:\n```\nyarn run start_process_trace\n```\nIf you want to run the case where the Prover is penalized for equivocation in BitVM, you can execute the following command:\n```\nyarn run start_process_trace_with_equivocation\n```\nIf you want to execute a single bitvalue_commitment in BitVM, you can run the following command:\n```\nyarn run start_bitvm_bitvalue_commitment\n```\nIf you want to execute a single NAND_gate in bitvm, you can run the following command:\n```\nyarn run start_bitvm_NAND_gate\n```\n\n#### Transfer sats to the taproot address corresponding to the program\n\nWhen you meeting `Waiting till UTXO is detected at addr: tb1pqnvkahjv98sl9m28mpyhejx23jequp4ehvsy844yrd6au8q88hxquk3zxl`,\nyou need to transfer some satoishs to this account.\n\nThe consumption of each transaction is 250 Sats.\n\nThe consumption of programs: \nstart_process_trace: 2000 sats. \nstart_process_trace_with_equivocation: 2500 sats\nstart_bitvm_nand_gate: 500 sats\nstart_bitvm_bitvalue_commitment: 500 sats\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitlayer-org%2FBitVM-Research","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitlayer-org%2FBitVM-Research","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitlayer-org%2FBitVM-Research/lists"}