An open API service indexing awesome lists of open source software.

https://github.com/kompleteam/komple-framework

Smart contract framework for building NFT based applications - built with CosmWasm
https://github.com/kompleteam/komple-framework

cosmos cosmwasm framework marketplace nft rust

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://docs.komple.io/komple-framework/overview).

Komple Framework is a smart contract framework that provides the tools for creating NFT based applications using [CosmWasm](https://cosmwasm.com).

## Building

### Smart Contracts

Build using Intel optimizer:

```bash
./scripts/optimize -i
```

Build using Arm optimizer:

```bash
./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:

```bash
./scripts/generate-schemas
```

### TS Codegen

First install the dependencies in `scripts` folder:

```bash
yarn install
```

Generate contract schemas with the previous command.

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

```bash
./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](https://www.apache.org/licenses/LICENSE-2.0).