{"id":24054624,"url":"https://github.com/cardinal-cryptography/common-bench","last_synced_at":"2025-06-23T12:33:18.846Z","repository":{"id":231529629,"uuid":"781941617","full_name":"Cardinal-Cryptography/common-bench","owner":"Cardinal-Cryptography","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-04T12:33:19.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-26T10:46:27.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cardinal-Cryptography.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-04T10:35:48.000Z","updated_at":"2024-04-04T10:36:31.000Z","dependencies_parsed_at":"2024-04-04T14:14:49.091Z","dependency_job_id":null,"html_url":"https://github.com/Cardinal-Cryptography/common-bench","commit_stats":null,"previous_names":["cardinal-cryptography/common-bench"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cardinal-Cryptography/common-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cardinal-Cryptography%2Fcommon-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cardinal-Cryptography%2Fcommon-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cardinal-Cryptography%2Fcommon-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cardinal-Cryptography%2Fcommon-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cardinal-Cryptography","download_url":"https://codeload.github.com/Cardinal-Cryptography/common-bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cardinal-Cryptography%2Fcommon-bench/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261479132,"owners_count":23164632,"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":"2025-01-09T03:49:04.097Z","updated_at":"2025-06-23T12:33:13.826Z","avatar_url":"https://github.com/Cardinal-Cryptography.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to build Common\n\n```\ngit clone https://github.com/Cardinal-Cryptography/common-amm\ncd common-amm\nmake build-and-wrap-all      ## might require cargo-contract 3.2.0, alternatively use make build-and-wrap-all-dockerized\nnpm run compile\n```\n\n# How to start local node with timers\n\n```\ncd polkadot-sdk              ## polkadot-sdk fork by Cardinal-Cryptography\ngit checkout old-timings     ## or wasmi-to-v0.32.0-beta.8\ncargo run --profile production --bin substrate-node -- --dev 2\u003e node.log\n```\n\n# How to deploy Common\n\n```\ncd common-amm\ngit checkout quick_deploy    ##  this branch reduces number of tokens/pairs deployed\nnpm run deploy-local         ##  prints, among others, the router address needed below\nnpm run spawn-dex-data\n```\n\n# How to run trades:\n\nSend 50 single-swap trades from Alice (one trade per block):\n```\n./send_trades.py --common /path/to/common-amm --node-log /path/to/node.log --router [ADDR] --trades 50\n```\n\nPlease omit `--node-log` if running Substrate version without timers","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcardinal-cryptography%2Fcommon-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcardinal-cryptography%2Fcommon-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcardinal-cryptography%2Fcommon-bench/lists"}