komple-framework-token-module

Contract used for collection configuration and token management in Komple Framework.


Keywords
cosmos, cosmwasm, framework, marketplace, nft, rust
License
Apache-2.0

Documentation

Komple Framework

WARNING: THIS FRAMEWORK IS IN BETA STAGE AND STILL IN DEVELOPMENT. IF YOU WANT TO USE IT IN PRODUCTION APPLICATIONS, USE WITH YOUR OWN RISK.

More info about Komple Framework can be found in our documentation.

Komple Framework is a smart contract framework that provides the tools for creating NFT based applications using CosmWasm.

Building

Smart Contracts

Build using Intel optimizer:

./scripts/optimize -i

Build using Arm optimizer:

./scripts/optimize -a

Keep in mind that Arm optimizer should not be used for production builds.

ALWAYS use Intel optimizer for production builds.

Contract Schemas

Generate contract schemas using:

./scripts/generate-schemas

TS Codegen

First install the dependencies in scripts folder:

yarn install

Generate contract schemas with the previous command.

After generating the contract schemas, you can generate the TS code for the contracts using:

./scripts/ts-codegen

All the generated typescript files will be inside ts-types folder under project root.

License

Contents of this repository are open source under Apache-2.0.