{"id":29124842,"url":"https://github.com/hirosystems/platform-template-ordyswap","last_synced_at":"2026-02-01T09:32:15.660Z","repository":{"id":273951863,"uuid":"920795046","full_name":"hirosystems/platform-template-ordyswap","owner":"hirosystems","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-14T22:26:19.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-23T06:43:50.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clarity","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/hirosystems.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-22T19:32:53.000Z","updated_at":"2025-11-14T22:26:20.000Z","dependencies_parsed_at":"2025-01-24T00:33:27.888Z","dependency_job_id":null,"html_url":"https://github.com/hirosystems/platform-template-ordyswap","commit_stats":null,"previous_names":["hiro-platform-templates/ordyswap","hirosystems/platform-template-ordyswap"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/hirosystems/platform-template-ordyswap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fplatform-template-ordyswap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fplatform-template-ordyswap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fplatform-template-ordyswap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fplatform-template-ordyswap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirosystems","download_url":"https://codeload.github.com/hirosystems/platform-template-ordyswap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fplatform-template-ordyswap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-06-29T21:06:57.010Z","updated_at":"2026-02-01T09:32:15.642Z","avatar_url":"https://github.com/hirosystems.png","language":"Clarity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ordinals Swap\n\nDemonstrates trustless atomic swaps between Ordinals and Stacks. \n\n## Know your Contract\n\nFor more details about this protocol in Stacks, please refer to [Mechanism's Ordyswap](https://github.com/mechanismHQ/ordyswap) project.\n\nThe [ord-swap.clar](/examples/ordyswap/contracts/ord-swap.clar) contract includes the following functionality.\n\n+ `validate-offer-transfer` function validates the transfer of an Ordinal\n+ `finalize-offer` finalizes the transfer offer\n+ `cancel-offer` function can be used to cancel a pending offer\n+ `refund-cancelled-offer` function is used to refund a canceled offer back to the owner\n\nTo add new contracts, use [Clarinet](https://docs.hiro.so/stacks/clarinet).\n\n## Test your Contract\n\n+ You can manually test your your contracts in the [Clarinet console](https://docs.hiro.so/clarinet/how-to-guides/how-to-test-contract#load-contracts-in-a-console).\n+ You can programmatically test your contracts with [unit tests](https://docs.hiro.so/clarinet/how-to-guides/how-to-test-contract).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Fplatform-template-ordyswap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirosystems%2Fplatform-template-ordyswap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Fplatform-template-ordyswap/lists"}