Crate secret_toolkit
source ·Expand description
Secret Contract Development Toolkit
This Rust package is a collection of sub-packages that contain common tools used in development of Secret Contracts running on the Secret Network.
The main package in this repository is secret-toolkit
under packages/toolkit
, which is
a wrapper around the other packages. For example secret-toolkit-storage
is exported under
secret_toolkit::storage
. If you only need some of the tools from the toolkit, you may get
better compile times by depending on the different components directly.
Each of the subpackages is imported with a feature flag, and most subpackages are included in the default flags. The exceptions to this are:
"crypto"
- has a deep dependency tree and increases compilation times significantly"permit"
- depends on"crypto"
and imports it automatically"incubator"
- includes experimental functionality. Minor version releases may cause breaking changes in this subpackage.
While the packages in this repository are designed with Secret Network’s runtime in mind, some of them may work well with the vanilla CosmWasm libraries and runtimes as well, or only require minimal modifications to be compatible with them.
License
The license file in the top directory of this repository applies to all packages it contains.
Re-exports
pub use secret_toolkit_crypto as crypto;
pub use secret_toolkit_incubator as incubator;
pub use secret_toolkit_permit as permit;
pub use secret_toolkit_serialization as serialization;
pub use secret_toolkit_snip20 as snip20;
pub use secret_toolkit_snip721 as snip721;
pub use secret_toolkit_storage as storage;
pub use secret_toolkit_utils as utils;
pub use secret_toolkit_viewing_key as viewing_key;