{"id":30703228,"url":"https://github.com/dfinity/invoice-canister","last_synced_at":"2026-03-27T02:26:36.181Z","repository":{"id":40561046,"uuid":"444920323","full_name":"dfinity/invoice-canister","owner":"dfinity","description":"Providing an example and simplified experience for accepting payments in smart contracts","archived":false,"fork":false,"pushed_at":"2022-11-08T21:32:42.000Z","size":10245,"stargazers_count":38,"open_issues_count":14,"forks_count":14,"subscribers_count":43,"default_branch":"main","last_synced_at":"2023-04-10T07:32:21.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Motoko","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfinity.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}},"created_at":"2022-01-05T19:06:05.000Z","updated_at":"2023-04-05T08:32:05.000Z","dependencies_parsed_at":"2023-01-22T21:31:09.256Z","dependency_job_id":null,"html_url":"https://github.com/dfinity/invoice-canister","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/dfinity/invoice-canister","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Finvoice-canister","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Finvoice-canister/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Finvoice-canister/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Finvoice-canister/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfinity","download_url":"https://codeload.github.com/dfinity/invoice-canister/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Finvoice-canister/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273317765,"owners_count":25084037,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09-02T16:57:38.520Z","updated_at":"2026-03-27T02:26:31.130Z","avatar_url":"https://github.com/dfinity.png","language":"Motoko","readme":"# Invoice Canister\n\nThis project provides a simple interface for creating and paying invoices in various tokens on the Internet Computer. It is a custodial solution, intended to be a simple, drop-in payments solution for any canister. To read more about the design of the canister, see the [Design Doc](./docs/DesignDoc.md).\n\n## IMPORTANT / DISCLAIMER\nThis project is to be used for educational purposes only. It has [known security vulnerabilities](https://github.com/dfinity/invoice-canister/issues). As such, it should not be used in any real-world / production context where money is at stake. Please proceed with thoughtfulness and attention.\n\n## Integrating with the Invoice Canister\n\nInclude this code in your `dfx.json` and follow our `self-hosted` example: TODO\n\n## Getting Started - Development\n\nMake sure you have followed the DFX installation instructions from https://smartcontracts.org.\n\nRun the `install-local.sh` script to install the ICP ledger and and the invoice canister on your device. You can make calls using the `dfx` sdk, or you can see test cases running through the flows under the `test` directory.\n\n## Testing\n\nTo test, you will need to install `moc` from the latest `motoko-\u003csystem\u003e-\u003cversion\u003e.tar.gz` release. https://github.com/dfinity/motoko/releases.\n\nThen, install Vessel following the guide at https://github.com/dfinity/vessel.\n\nYou will also need to install `wasmtime`. For macOS, you can install with `brew install wasmtime`. For Linux, you can install with `sudo apt-get install wasmtime`.\n\nTo run unit tests, use `make test`.\n\nTo run the end-to-end JavaScript tests, first install fresh with with `./install-local.sh`. Then, run `npm test`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Finvoice-canister","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfinity%2Finvoice-canister","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Finvoice-canister/lists"}