Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rune Vesting discuss: How to design rune vesting module for token unlock/airdrop/etc #3886

Closed
bingryan opened this issue Aug 7, 2024 · 1 comment

Comments

@bingryan
Copy link
Contributor

bingryan commented Aug 7, 2024

Before I start this PR, I want to discuss it first.

Abstract

Use vesting to replace premine(or add vesting, not replace).

Motivation

Implement the vesting module of rune to feat:

  • Airdrop
  • Token Unlocks & Vesting

Description

For the group with A(Like DOG/LOBO/Others user group) rune/inscription, when etching a new B rune, you can set vesting to the token unlock of B rune (at etch stage, premine -> vesting) to achieve token unlock. at B etch's vesting info, you can set A's Rune ID info to distribute premine tokens to A group.

User Case

Linear Vesting

ord RuneID/Inscription -> {
	start: // start block
	count: // vesting count
	period: // period
	per_period: // rune token to release per vest
}

Graded Vesting

TODO

Cliff Vesting

TODO

@casey @raphjaph

@casey
Copy link
Collaborator

casey commented Aug 7, 2024

I think this is better accomplished with timelocks / lock heights. In general, if functionality can come from the bitcoin base later, it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants