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

[TALENT] Add ability to create token in bonding curve contract #2564

Closed
5 of 6 tasks
fullstack412 opened this issue Feb 5, 2025 · 12 comments
Closed
5 of 6 tasks

[TALENT] Add ability to create token in bonding curve contract #2564

fullstack412 opened this issue Feb 5, 2025 · 12 comments
Assignees
Labels
Talent Paloma's Got Talent

Comments

@fullstack412
Copy link

fullstack412 commented Feb 5, 2025

Current bonding curve contract creates a new pair and add liquidity, burn some part of liquidity.
We have token factory feature in CW. So we can implement the missing logics.

  • 1. Bonding Curve factory contract should create a new denom.
  • 2. Bonding Curve factory contract should create a new pair. This was implemented but we need to create it using created denom, not put tokens by users.
  • 3. Adding liquidity feature should be fixed. We need to put liquidity with minted token. And we need to make a virtual balance feature so that we don't need to put PUSD in initial liquidity.
  • 4. When the token reaches the market cap, we need to withdraw the liquidity and move them to Palomadex AMM. It wasn't implemented since we were supposed to use CLI for token creation and mint. [TUESDAY]
  • Deploy contract for team [TUESDAY]
  • update tests [WEDNESDAY, after first deploy for team and after [TALENT] As a PalomaTalent creator, I want to receive governance fees from the trading of my launched tokens #2569 ]
@fullstack412 fullstack412 added the Talent Paloma's Got Talent label Feb 5, 2025
@taariq
Copy link
Member

taariq commented Feb 5, 2025

Question @wc117:

  1. And we need to make a virtual balance feature so that we don't need to put PUSD in initial liquidity It is my understanding that we do not yet have virtual balances for the bonding curve and this must be now done?
  2. When the token reaches the market cap, we need to withdraw the liquidity and move them to Palomadex AMM Is it my understanding that this is not yet done as well?

@wc117
Copy link

wc117 commented Feb 5, 2025

Yes for both.

@wc117
Copy link

wc117 commented Feb 5, 2025

What will be the initial token mint amount? I think pump.fun mints 1 billion and 9 as decimals as SOL default decimals. And what information will the user need to put and what will we decide? For example, token name, symbol, etc. @taariq @fullstack412

@taariq
Copy link
Member

taariq commented Feb 5, 2025

@wc117 thanks for the ask:

  1. The initial mint will be 10 billion for each token.
  2. We use 6 decimals because these tokens need to be on EVM.
  3. The App will create TokenName/Symbol from user inputs received by @jamie088 and @fullstack412. Question @wc117: What are the parameters for token name and symbol that you require?

@wc117
Copy link

wc117 commented Feb 5, 2025

I will get the TokenName and Symbol in string type in creating token. And we can put token description when token creation. So it can be the additional parameter. @taariq

@wc117
Copy link

wc117 commented Feb 5, 2025

The users may want to create a token with token name, symbol, and token description as they want.

@taariq
Copy link
Member

taariq commented Feb 5, 2025

The users may want to create a token with token name, symbol, and token description as they want.

@wc117 Yes. we already have an API and UI to collect that information from the user. We just need the constraints for those variables. How long?

@wc117
Copy link

wc117 commented Feb 5, 2025

I think I can finish 1 + 2 in today. 3 and 4 will take 1+ days for each at least. I will try to finish it ASAP. I will share the progress frequently. @taariq

@taariq
Copy link
Member

taariq commented Feb 5, 2025

Thanks @wc117. Looks like we may not make our Friday launch with these needed 2 days.

@taariq
Copy link
Member

taariq commented Feb 6, 2025

@wc117 did we finish on No 2. today, Thursday?

@taariq
Copy link
Member

taariq commented Feb 12, 2025

We are now in the updating tests stage.
Image

@verabehr
Copy link

moved tests to a new ticket

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

No branches or pull requests

4 participants