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

feat: add token factory module #1318

Merged
merged 9 commits into from
Dec 13, 2024

Conversation

byte-bandit
Copy link
Contributor

@byte-bandit byte-bandit commented Dec 13, 2024

Related Github tickets

Background

This change adds a token factory module that extends Paloma with the following features:

  • New tokens may be created by anyone
  • Tokens can only be minted by the admin of the token (by default, the creator of a token is the admin)
  • Tokens can only be burned by the admin of the token
  • All data is respected for genesis import/export
  • Skyway registrations against user tokens do not require governance
  • Tokens can be bridged outside of Paloma
  • Creating a token costs 10 GRAIN

Testing completed

Warning

While most of the code is greatly inspired by the COSMWASM tokenfactory module and should be battle tested, I did not have time to include proper e2e tests to cover all Paloma customizations. Successful bridging still needs smoke testing.

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

@byte-bandit byte-bandit requested a review from taariq December 13, 2024 17:09
@byte-bandit byte-bandit self-assigned this Dec 13, 2024
@byte-bandit byte-bandit changed the title Feature/token factory feat: add token factory module Dec 13, 2024
@byte-bandit byte-bandit enabled auto-merge (squash) December 13, 2024 17:17
Copy link
Contributor

@taariq taariq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFG

@byte-bandit byte-bandit merged commit 06191a2 into palomachain:master Dec 13, 2024
4 checks passed
@taariq taariq deleted the feature/token-factory branch December 13, 2024 17:18
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

Successfully merging this pull request may close these issues.

2 participants