The Sapphire ParaTime is the official confidential EVM Compatible ParaTime providing a smart contract development environment with EVM compatibility on the Oasis Network.
This monorepo includes the source code for the following Sapphire packages:
Sub-Project | Version | Size | Downloads |
---|---|---|---|
TypeScript | |||
Go | |||
Solidity | |||
Hardhat | |||
Ethers 6.x | |||
Wagmi 2.x | |||
Viem 2.x |
This repository includes all relevant Sapphire and dependencies organized into the following directories:
clients
: the Go, Python and JavaScript/TypeScript clientscontracts
: Sapphire and OPL smart contractsdocs
: topic-oriented Sapphire documentationexamples
: sample code snippets in popular Ethereum development environmentsintegrations
: plugins for popular Ethereum SDKsruntime
: the Sapphire Paratime as based off of the Oasis SDK
The Sapphire documentation is deployed as part of the official Oasis documentation. To make changes visible on the docs website:
- Merge any changes in the
docs
folder to themain
branch. - Bump the git commit reference of the Sapphire submodule inside the
external
directory of the Oasis docs repository (you can simply approve the auto-generated dependabot's submodule bump PR). - Merge changes into Oasis docs repository
main
branch. CI will deploy the docs to the website automatically.
Note: If you want to introduce a new markdown file, you will need to add it to the Oasis documentation's sidebar. If you remove any chapters, don't forget to define sensible redirects. For more info on how to write the Oasis documentation, manage images and diagrams, reference cross-repo markdown files and similar consult the official README.
The API documentation is auto-generated from the corresponding Sapphire clients and libraries. It is deployed at:
The API docs are generated automatically every 15 minutes from the main
branch.
JS libraries should be updated with a version bump in the package.json
file and a respective tag in the pattern of {{path}}/v{{semver}}
, such as
clients/js/v1.1.1
.
Developers are encouraged to contribute their improvements to the Sapphire Paratime through this repository. Open a pull request and one of the Oasis Protocol Foundation members will check it out and get back to you!
See our Contributing Guidelines.
Oasis remains committed to unlocking the full potential of privacy applications on Web3.
Build with us today!
This software is licensed under Apache 2.0.
The content of the documentation (the /docs
folder) including the media (e.g.
images and diagrams) is licensed under Creative Commons Attribution 4.0
International.