Name | Description |
---|---|
MPC20 |
Implementation of ERC20 Interface |
MPC721 |
Implementation of ERC721 Interface |
MPC1155 |
Implementation of ERC1155 Interface |
MPC20-Staking |
Implementation of ERC20 Interface with staking mechanism |
MPC20-BYOC |
Implementation of ERC20 Interface with wrapping mechanism for BYOC tokens |
MPC721-Payble-Mint |
Implementation of ERC721 Interface with payable mint feature |
MPC1-Multisig |
On-chain multisig contract |
Name | Description |
---|---|
Access Control |
Access Control Smart Contract Extension Lib |
Contract Version |
Contract Versioning Lib |
Counter |
Counters Lib |
Ownable |
Ownable Smart Contract Extension Lib |
Pausable |
Pausable Smart Contract Extension Lib |
Utils |
Set of tool for Smart Contracts |
Run cargo test
to run all unit tests
Currently partisia-contract
sdk doesn't support Rust Workspaces.
So to build contracts from this repo on your own you will need to:
- Clone this repo
- Create a new contract outside this folder
- Import {contract}-base package from
packages/
folder. - Copy all the files from selected contract, for example from
contracts/mpc20
- Run
cargo partisia-contract build --release
command.
Or you can download pre-compiled artifacts from here