/kreate-protocol

Teiki protocol implementation in Generation I

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

⚠️ [Alpha] Teiki Protocol 🚧

Teiki protocol

We currently maintain the Teiki protocol specifications on Notion.

This repository contains the implementation in Generation I. It is currently at the Alpha 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

Propose Teiki 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

Feel free to connect: Website, Medium, Discord, Twitter, Telegram. We are very open to discussions, questions, and feedback 🌱.