Experimental CosmWasm based contracts, packages and protocols
Standards focusing on interfaces for smart contract based accounts
Name | Description | Examples |
---|---|---|
cw81 |
Signature verification for smart contracts (inspired by ERC-1271) | link |
cw82 |
Minimal smart contract based abstract account | link |
cw83 |
Registry for smart contract based accounts (inspired by ERC-6551) | link |
Example contracts showcasing usage of the proposed protocols and standards
Contract | Description |
---|---|
cw-81-last-signature |
Contract owner stores an exprirable signature and checks a queried one is equal to it |
cw-81-pubkey |
Using secp256k1 public key provided by contract creator and verifying using ecdsa |
cw-81-sn-ks |
SecretWasm based contract using a secp256k1 private key for signature generation and verification |
Contract | Description |
---|---|
cw82-key-account |
Signatures are verified against secp256k1 public key and all executable cosmos message must be signed by a corresponding private key |
cw82-token-account |
Only an NFT owner can execute some cosmos messages. Signature are checked against the stored public key through direct sign |
cw82-sn-sym |
Secret Network specifc contract that only allow cosmos messages that had been encrypted by a secret (symmetric) key provided to the contract by instantiator. Signatures must be coming from a separate key generated inside the contract to be valid |
Contract | Description |
---|---|
cw83-tba-registry |
A Registry of token (NFT) bound accounts |
This is playground repository for MegaRock to test out new ideas that can standartised. All the projects in the reposity are of an experimental nature with low-maintanace and support. The projects here shouldn't be used for production before being peer-review and explicitly green-lighted by the team. (in case where the usage is licensed )
As part of our mission of promoting public goods and open source culture we are planning to be contributing the standards that gain adoption into the original repository maintained by the official team working on CosmWasm. Altenatively the team might choose to maintain a standard ourselves.
Unless explicietely specified otherwise with a standalone License file or description all the interface packages in the repository are released under open-source lincense and all the examples contracts are treated as source available only.