{"id":22700424,"url":"https://github.com/uncomputable/asset-gen","last_synced_at":"2025-03-29T19:11:26.926Z","repository":{"id":203823837,"uuid":"710335443","full_name":"uncomputable/asset-gen","owner":"uncomputable","description":"Generator of QA assets for Simplicity testing.","archived":false,"fork":false,"pushed_at":"2024-05-21T21:40:01.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T19:46:38.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uncomputable.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":"2023-10-26T13:45:50.000Z","updated_at":"2024-05-21T21:40:04.000Z","dependencies_parsed_at":"2024-05-21T22:44:28.261Z","dependency_job_id":null,"html_url":"https://github.com/uncomputable/asset-gen","commit_stats":null,"previous_names":["uncomputable/asset-gen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fasset-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fasset-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fasset-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fasset-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uncomputable","download_url":"https://codeload.github.com/uncomputable/asset-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246230541,"owners_count":20744349,"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-12-10T06:12:09.866Z","updated_at":"2025-03-29T19:11:26.903Z","avatar_url":"https://github.com/uncomputable.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplicity QA Asset Generator\n\n\n## Generate the assets\n\nRun the main method to generate the file `script_assets_test.json`.\n\n```bash\ncargo run\n```\n\n## Build Elements Core\n\nClone [Elements Core](https://github.com/ElementsProject/elements) and switch to the [Simplicity branch](https://github.com/ElementsProject/elements/tree/simplicity).\n\n```bash\ngit clone git@github.com:ElementsProject/elements.git\ncd elements\ngit checkout simplicity\n```\n\n[Configure your development environment](https://github.com/ElementsProject/elements/blob/master/doc/build-unix.md). Cough, there is an [easy way using nix](https://github.com/uncomputable/bitcoin-nix-tools), cough.\n\nThen build Elements Core.\n\n```bash\n./autogen.sh\n./configure\nmake # use \"-j N\" for N parallel jobs\n```\n\n## Use the assets\n\nFirst, [build Elements Core for testing](https://github.com/uncomputable/asset-gen/tree/master#build-elements-core).\n\nThen run the unit test assets using the test runner.\n\n```bash\nDIR_UNIT_TEST_DATA=../asset-gen ./src/test/test_bitcoin --log_level=warning --run_test=script_tests\n```\n\nThe variable `DIR_UNIT_TEST_DATA` selects the directory in which the file `script_assets_test.json` is located.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Fasset-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funcomputable%2Fasset-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Fasset-gen/lists"}