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

Support for Westmint / Assets #151

Open
chevdor opened this issue Apr 26, 2022 · 10 comments
Open

Support for Westmint / Assets #151

chevdor opened this issue Apr 26, 2022 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@chevdor
Copy link
Contributor

chevdor commented Apr 26, 2022

Westmint allows minting custom assets.

It would faciliate users' entry to be able to get minted assets directly on Westmint.
This will however first require the ability to drip Westmint WND so the recipient account has a sufficient balance to then receive minted Assets.

The goal is not to support a huge number of minted assets but we should plan on supporting a handful of them.

@mutantcornholio
Copy link
Contributor

mutantcornholio commented Jul 20, 2023

Hi @chevdor!

Am I understanding it correctly that all we need is to teleport westies to Asset Hub parachain?
For that, we already have it in https://paritytech.github.io/polkadot-testnet-faucet/westend.
Is it enough?

@chevdor
Copy link
Contributor Author

chevdor commented Jul 24, 2023

Teleporting is an option but not the only one and we could make it simpler by having a faucet account on the Asset Hub already funded with WND (from a manual or automatic teleport).

The goal is:

  • if the target account has a sufficient balance, do nothing
  • if the target account has unsufficient balance, drip a small amount to make the account a valid receiver for random assets
  • drip the requested asset to the user's account

@mutantcornholio
Copy link
Contributor

drip the requested asset to the user's account

This one's a bit puzzling to me.
If somebody had created an asset on Westmint, they own the supply, right? How can we drip it without having access to it?

@chevdor
Copy link
Contributor Author

chevdor commented Jul 24, 2023

The goal is not to drip user's tokens... but one/some of our test tokens so people get a feel for assets.

@mutantcornholio
Copy link
Contributor

Then I'm still having trouble distinguishing it from what we are doing now with Westmint :(

If you choose "Westmint" here in the faucet, you'll get WNDs on Westmint, which should be everything that's required to do custom Assets, right?

@chevdor
Copy link
Contributor Author

chevdor commented Jul 25, 2023

yes, but it misses the step where the user actually gets the custom asset, like one of those:
image

As you pointed out, it cannot be a random one and needs to be one the faucet has "in stock" (or mint itself).

@mutantcornholio
Copy link
Contributor

Waait, I think I see it now... Is it a usecase like this?

  • you're making faucet the issuer of CHVTKN (or sending some CHVTKN to faucet) as an api call, and others can get it directly from the faucet?

@chevdor
Copy link
Contributor Author

chevdor commented Jul 25, 2023

Yeah something like that. It could be CHVTKN or any... I could send some of those to the faucet and let it drip for users or we let the faucet manage an asset. By any I don't mean randomly any token, this is something we fix and once fixed, the list of drippable assets is fixed.

@mutantcornholio
Copy link
Contributor

By any I don't mean randomly any token, this is something we fix

Why not any? I'd say it would be more useful to let users distribute their own custom assets via faucet, rather than make a list of test assets that we choose.

It will take some refactoring to get it, but totally solvable together with this issue: #278

@chevdor
Copy link
Contributor Author

chevdor commented Jul 26, 2023

Why not any?

I was about to answer that we don't control them but indeed, as long as we have some positive balance, we could handle any and even let users send their assets to the faucet to add them to the list. That would be a neat idea. That works only for fungible tokens.

Let me know if some of the assets I minted can help.
image

I will not mint more of the asset #2 for obvious reasons but you can have some and I can mint more of the aset #1.

We could extend to NFT but this was not the scope of this issue so I suggest to focus on assets for now.

@mordamax mordamax added this to the Faucet Maintenance milestone Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants