/teiki-protocol

Teiki protocol implementation in Generation I

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

⚠️ [WIP] Teiki Protocol 🚧

Teiki protocol

We currently maintain the Teiki protocol specifications on Notion.

This repository contains the implementation in Generation I. The code is a work in progress and is not production ready. We plan to launch a public testnet in January and a mainnet beta in February 2023.

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

Update information in src/cli/meta-protocol/propose.ts and src/cli/meta-protocol/apply.ts. Need to wait for the proposal duration before applying.

npm run meta-protocol:propose
npm run meta-protocol:apply

Emulator Test

npm test

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