/komple-framework

Smart contract framework for building NFT based applications - built with CosmWasm

Primary LanguageRustApache License 2.0Apache-2.0

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.