{"id":16469288,"url":"https://github.com/oasisprotocol/sapphire-paratime","last_synced_at":"2025-04-04T16:12:33.282Z","repository":{"id":41203870,"uuid":"483157350","full_name":"oasisprotocol/sapphire-paratime","owner":"oasisprotocol","description":"Oasis Sapphire - the confidential EVM-compatible ParaTime for the Oasis Network","archived":false,"fork":false,"pushed_at":"2025-04-01T11:19:59.000Z","size":15667,"stargazers_count":45,"open_issues_count":65,"forks_count":31,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-01T12:27:33.701Z","etag":null,"topics":["blockchain","chain","confidential","crypto","enclave","ethereum","evm","hacktoberfest","network","oasis","official","paratime","privacy","rust","sgx","solidity","tee"],"latest_commit_sha":null,"homepage":"https://oasisprotocol.org/sapphire","language":"TypeScript","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/oasisprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-04-19T08:18:50.000Z","updated_at":"2025-03-31T13:45:15.000Z","dependencies_parsed_at":"2023-09-21T18:24:52.740Z","dependency_job_id":"9f29e41f-8b71-41a6-a9a3-3a2a3047df88","html_url":"https://github.com/oasisprotocol/sapphire-paratime","commit_stats":{"total_commits":701,"total_committers":22,"mean_commits":"31.863636363636363","dds":0.6533523537803139,"last_synced_commit":"a4069ee1500873ee4becbfbbce23feb6f3c97702"},"previous_names":["oasislabs/sapphire-paratime"],"tags_count":87,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsapphire-paratime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsapphire-paratime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsapphire-paratime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Fsapphire-paratime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oasisprotocol","download_url":"https://codeload.github.com/oasisprotocol/sapphire-paratime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208142,"owners_count":20901570,"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":["blockchain","chain","confidential","crypto","enclave","ethereum","evm","hacktoberfest","network","oasis","official","paratime","privacy","rust","sgx","solidity","tee"],"created_at":"2024-10-11T12:06:49.505Z","updated_at":"2025-04-04T16:12:33.265Z","avatar_url":"https://github.com/oasisprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sapphire Paratime\n\n[![license](https://img.shields.io/github/license/oasisprotocol/sapphire-paratime.svg)](https://github.com/oasisprotocol/sapphire-paratime/blob/main/LICENSE)\n[![ci-lint](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/ci-lint.yaml/badge.svg)](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/ci-lint.yaml)\n[![ci-test](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/ci-test.yaml/badge.svg)](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/ci-test.yaml)\n[![ci-test](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/contracts-test.yaml/badge.svg)](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/contracts-test.yaml)\n[![ci-test](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/ci-playwright.yaml/badge.svg)](https://github.com/oasisprotocol/sapphire-paratime/actions/workflows/ci-playwright.yaml)\n\nThe Sapphire ParaTime is the official confidential EVM Compatible ParaTime\nproviding a smart contract development environment with EVM compatibility\non the Oasis Network.\n\nThis monorepo includes the source code for the following Sapphire packages:\n\n| Sub-Project                               | Version                                        | Size                                              | Downloads                         |\n| ----------------------------------------- | ---------------------------------------------- | ------------------------------------------------- | --------------------------------- |\n| [TypeScript][client-npm]           | [![version][client-version]][client-npm]       | [![size][client-size]][client-bundlephobia]       | ![downloads][client-downloads]    |\n| [Go][go-pkg]                       | [![version][go-version]][go-pkg]               |                                                   |                                   |\n| [Solidity][contracts-npm] | [![version][contracts-version]][contracts-npm] |                                                   | ![downloads][contracts-downloads] |\n| [Hardhat][hardhat-npm]             | [![version][hardhat-version]][hardhat-npm]     | [![size][hardhat-size]][hardhat-bundlephobia]     | ![downloads][hardhat-downloads]   |\n| [Ethers 6.x][ethers-v6-npm]       | [![version][ethers-v6-version]][ethers-v6-npm] | [![size][ethers-v6-size]][ethers-v6-bundlephobia] | ![downloads][ethers-v6-downloads] |\n| [Wagmi 2.x][wagmi-v2-npm]         | [![version][wagmi-v2-version]][wagmi-v2-npm]   | [![size][wagmi-v2-size]][wagmi-v2-bundlephobia]   | ![downloads][wagmi-v2-downloads]  |\n| [Viem 2.x][viem-v2-npm]           | [![version][viem-v2-version]][viem-v2-npm]     | [![size][viem-v2-size]][viem-v2-bundlephobia]     | ![downloads][viem-v2-downloads]   |\n\n\n[go-pkg]: https://pkg.go.dev/github.com/oasisprotocol/sapphire-paratime\n\n[hardhat-npm]: https://www.npmjs.com/package/@oasisprotocol/sapphire-hardhat\n[contracts-npm]: https://www.npmjs.com/package/@oasisprotocol/sapphire-contracts\n[client-npm]: https://www.npmjs.com/package/@oasisprotocol/sapphire-paratime\n[ethers-v6-npm]: https://www.npmjs.com/package/@oasisprotocol/sapphire-ethers-v6\n[viem-v2-npm]: https://www.npmjs.com/package/@oasisprotocol/sapphire-viem-v2\n[wagmi-v2-npm]: https://www.npmjs.com/package/@oasisprotocol/sapphire-wagmi-v2\n\n[go-version]: https://img.shields.io/github/go-mod/go-version/oasisprotocol/sapphire-paratime?filename=clients%2Fgo%2Fgo.mod\n[hardhat-version]: https://img.shields.io/npm/v/@oasisprotocol/sapphire-hardhat\n[contracts-version]: https://img.shields.io/npm/v/@oasisprotocol/sapphire-contracts\n[client-version]: https://img.shields.io/npm/v/@oasisprotocol/sapphire-paratime\n[ethers-v6-version]: https://img.shields.io/npm/v/@oasisprotocol/sapphire-ethers-v6\n[viem-v2-version]: https://img.shields.io/npm/v/@oasisprotocol/sapphire-viem-v2\n[wagmi-v2-version]: https://img.shields.io/npm/v/@oasisprotocol/sapphire-wagmi-v2\n\n[hardhat-size]: https://img.shields.io/bundlephobia/minzip/@oasisprotocol/sapphire-hardhat\n[client-size]: https://img.shields.io/bundlephobia/minzip/@oasisprotocol/sapphire-paratime\n[ethers-v6-size]: https://img.shields.io/bundlephobia/minzip/@oasisprotocol/sapphire-ethers-v6\n[viem-v2-size]: https://img.shields.io/bundlephobia/minzip/@oasisprotocol/sapphire-viem-v2\n[wagmi-v2-size]: https://img.shields.io/bundlephobia/minzip/@oasisprotocol/sapphire-wagmi-v2\n\n[hardhat-bundlephobia]: https://bundlephobia.com/package/@oasisprotocol/sapphire-hardhat\n[client-bundlephobia]: https://bundlephobia.com/package/@oasisprotocol/sapphire-paratime\n[ethers-v6-bundlephobia]: https://bundlephobia.com/package/@oasisprotocol/sapphire-ethers-v6\n[viem-v2-bundlephobia]: https://bundlephobia.com/package/@oasisprotocol/sapphire-viem-v2\n[wagmi-v2-bundlephobia]: https://bundlephobia.com/package/@oasisprotocol/sapphire-wagmi-v2\n\n[hardhat-downloads]: https://img.shields.io/npm/dm/@oasisprotocol/sapphire-hardhat.svg\n[contracts-downloads]: https://img.shields.io/npm/dm/@oasisprotocol/sapphire-contracts.svg\n[client-downloads]: https://img.shields.io/npm/dm/@oasisprotocol/sapphire-paratime.svg\n[ethers-v6-downloads]: https://img.shields.io/npm/dm/@oasisprotocol/sapphire-ethers-v6.svg\n[viem-v2-downloads]: https://img.shields.io/npm/dm/@oasisprotocol/sapphire-viem-v2.svg\n[wagmi-v2-downloads]: https://img.shields.io/npm/dm/@oasisprotocol/sapphire-wagmi-v2.svg\n\n## Layout\n\nThis repository includes all relevant Sapphire and dependencies organized into\nthe following directories:\n\n- [`clients`](./clients): the Go, Python and JavaScript/TypeScript clients\n- [`contracts`](./contracts): Sapphire and [OPL](https://docs.oasis.io/build/opl/) smart contracts\n- [`docs`](./docs): topic-oriented Sapphire documentation\n- [`examples`](./examples/): sample code snippets in popular Ethereum\ndevelopment environments\n- [`integrations`](./integrations/): plugins for popular Ethereum SDKs\n- [`runtime`](./runtime/): the Sapphire Paratime as based off of the\n[Oasis SDK](https://github.com/oasisprotocol/oasis-sdk)\n\n## Documentation\n\nThe Sapphire documentation is deployed as part of the official\n[Oasis documentation](https://docs.oasis.io/build/sapphire/). To make changes\nvisible on the docs website:\n\n1. Merge any changes in the `docs` folder to the `main` branch.\n2. Bump the git commit reference of the Sapphire submodule inside the `external`\n   directory of the [Oasis docs repository](https://github.com/oasisprotocol/docs)\n   (you can simply approve the auto-generated dependabot's submodule bump PR).\n3. Merge changes into Oasis docs repository `main` branch. CI will deploy the\n   docs to the website automatically.\n\nNote: If you want to introduce a new markdown file, you will need to add it to\nthe [Oasis documentation's sidebar](https://github.com/oasisprotocol/docs/blob/main/sidebarDapp.ts).\nIf you remove any chapters, don't forget to define sensible [redirects](https://github.com/oasisprotocol/docs/blob/main/redirects.ts).\nFor more info on how to write the Oasis documentation, manage images and\ndiagrams, reference cross-repo markdown files and similar consult the\n[official README](https://github.com/oasisprotocol/docs/blob/main/README.md).\n\nThe API documentation is auto-generated from the corresponding Sapphire\nclients and libraries. It is deployed at:\n\n* https://api.docs.oasis.io/js/sapphire-paratime/\n* https://api.docs.oasis.io/sol/sapphire-contracts/\n\nThe API docs are generated automatically every 15 minutes from the `main`\nbranch.\n\n## Release\n\n### Clients \u0026 Integrations\n\nJS libraries should be updated with a version bump in the `package.json`\nfile and a respective tag in the pattern of `{{path}}/v{{semver}}`, such as\n`clients/js/v1.1.1`.\n\nThis repository allows the use of `alpha`, `beta`, and `next` releases for NPM\npackages, but prefers a linear upgrade path when possible from `latest` to\n`next`. such as `integrations/hardhat/v2.22.2-next`. While we prefer the use\nof CI and e2e testing such as dAppwright, this may not be possible for all\nsupported use cases. When releasing a new version of a package, seek to upgrade\n`demo-` repos to the release version, and test both `demo-` dapps and this\nrepository's `examples` against the to be released package with commonly used\nbrowser wallets such as Rabby, MetaMask, and Brave.\n\n## Contributing\n\nDevelopers are encouraged to contribute their improvements to the Sapphire\nParatime through this repository. Open a pull request and one of the Oasis\nProtocol Foundation members will check it out and get back to you!\n\nSee our [Contributing Guidelines](CONTRIBUTING.md).\n\n## Build\n\nOasis remains committed to unlocking the full potential of privacy applications\non Web3.\n\nBuild with [us](https://oasisprotocol.org/opl#how-to-get-started) today!\n\n## License\n\nThis software is licensed under [Apache 2.0](./LICENSE).\n\nThe content of the documentation (the `/docs` folder) including the media (e.g.\nimages and diagrams) is licensed under [Creative Commons Attribution 4.0\nInternational](./LICENSE-docs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasisprotocol%2Fsapphire-paratime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foasisprotocol%2Fsapphire-paratime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasisprotocol%2Fsapphire-paratime/lists"}