Skip to content

hadelive/kreate-protocol

 
 

Repository files navigation

⚠️ [Beta] Kreate Protocol 🚧

Kreate protocol

We currently maintain the Kreate protocol specifications on Notion.

This repository contains the implementation in Gen I. It is currently at the Beta stage for mainnet testing.

Getting Started

Installing

npm i

Running the Scripts

Bootstrap protocol

export BLOCKFROST_URL=https://cardano-[preview/preprod/mainnet].blockfrost.io/api/v0
export BLOCKFROST_PROJECT_ID=preview***********************
export NETWORK=Preview
export TEST_SEED_PHRASE_URL=xxxxx%20xxxxxxx%20xxxxxxxx%20xxxxxxx
export STAKING_MANAGER_ADDRESS=addr_xxxxxxxxxxxxxxx
export POOL_ID=poolxxxxxxxxxxxxxxxxxxxxxxx
npm run deploy
Bootstrap kolour NFT
export KOLOUR_NFT_PUB_KEY_HASH=xxxxxxxxxxxxxxxxxxxxxxxx
export KREATION_NFT_PUB_KEY_HASH=xxxxxxxxxxxxxxxxxxxxxxxx

Propose minting rules

  1. Update information in src/cli/meta-protocol/propose.ts and src/cli/meta-protocol/apply.ts then propose:
npm run meta-protocol:propose
  1. Wait for the proposal duration before applying:
npm run meta-protocol:apply

Emulator Test

npm test

About

Kreate protocol implementation in Gen I

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • JavaScript 0.1%