Skip to main content
7 votes
Accepted

Influence of Existential Deposits on account assets

The DOT transfer that empties the account will simply fail. First, an asset places a consumer reference on an account: frame_system::Pallet::<T>::inc_consumers(who).map_err(|_| Error::<T, I&...
joepetrowski's user avatar
  • 2,955
5 votes

FailedToTransactAsset when sending USDt from Statemint to another parachain

Problem solved! Because the asset is not set as isSufficient the sovereign account of the parachain needs to hold DOT on Statemint to transfer the asset through XCM.
Maarten Henskens's user avatar
5 votes
Accepted

Do assets (from the asset pallet on State[mine/mint]) have an existential deposit?

Assets (from assets pallet) do not have existential deposits but the native token (pallet balances - ED) does. For example, if you want to create a new asset in Statemine and since the native token ...
dominique's user avatar
  • 1,693
3 votes

"Account cannot be created" when trying to transfer statemine token to sibling parachain

There's an referendum open for make USDT sufficient in statemint: https://polkadot.polkassembly.io/referendum/80 The referendum passed, there's 28 days delay to the change be applied
Lohann Paterno Coutinho Ferrei's user avatar
3 votes

Do assets (from the asset pallet on State[mine/mint]) have an existential deposit?

The Existential Deposit (ED), transfer fees, and the deposits for proxy/multisig operations on Statemint are about 1/10th of the values on the Relay chain. So, the Existential Deposit of a Statemint ...
Daan van der Plas's user avatar
3 votes

List of assets on Statemint

Using PolkadotJS you can get the list of assets with this script: const wsProvider = new WsProvider('wss://statemint.api.onfinality.io/public-ws'); const api = await ApiPromise.create({ ...
Alex Bean's user avatar
  • 5,757
3 votes

Does holding only sufficient asset in statemint imply there is no ED for the account?

Does holding only sufficient asset in statemint imply there is no ED for the account? Yes, Sufficiency means that the asset balance is enough to create the account on-chain, with no need for the DOT/...
Alex Bean's user avatar
  • 5,757
3 votes
Accepted

If Sufficiency of a Statemint asset is revoked, what happens to the accounts holding only that asset?

Nothing would happen to the accounts holding the assets (it would be a potentially huge storage op to iterate through all accounts on chain and check which ones only exist due to a sufficient asset). ...
joepetrowski's user avatar
  • 2,955
2 votes

How to create NFT in Statemint?

Here is an example of using the uniques pallet to create non-fungible assets: export const createNonFungibleAssets = async () => { let tx = api.tx.utility.batchAll([ api.tx.uniques....
Bruno's user avatar
  • 8,315
2 votes

How to access Statemint/Statemine assets in a parachain?

(Not financial advice) If your question is about how to bring liquidity from stablecoins like USDT into Polkadot and Kusama ecosystem? Currently it is available with Bitfinex withdrawals to Statemint ...
Josh's user avatar
  • 425
2 votes

Invalid Incoming XCMP message data

After debugging I think it's a bug (pallet-xcm or cumulus-pallet-xcmp-queue), you can track it here: https://github.com/paritytech/cumulus/issues/1700
Guantong's user avatar
  • 1,848
2 votes

How can I see the assets deployed on Statemint/Statemine with all their related information on Polkadot.js UI?

Once you are in the Polkadot.js/apps UI, connect to Statemint network (Polkadot ecosystem), click on Network tab and then on Assets to see the complete list of deployed assets listed by asset ID. ...
Iker's user avatar
  • 1,356
2 votes

Using fungible Statemine assets with governance

What is the best design to reuse governance pallets (e.g. treasury, council, Gov2) with non-L1 tokens? You'll want to look at the pub trait Config { type Currency } for each of the pallets you are ...
joepetrowski's user avatar
  • 2,955
1 vote

Are users only allowed to own 16 assets with pallet-assets?

An account can own more than 16 assets. If someone places a deposit (in DOT), inc_consumers won't be called. let reason = if let Some((depositor, deposit)) = maybe_deposit { if ...
Juan Girini's user avatar
1 vote
Accepted

How can i create a collection on statemint nft pallet without reserving 10 DOT

You can't, the deposit is there for a reason.
joepetrowski's user avatar
  • 2,955
1 vote

Is there a programmatic way to retrieve list of parachain sovereign accounts on Statemint/e?

Yes. There are some tools and examples already available that you can use to do this programmatically. I recommend the following post: how to calculate sovereignAccount for parachain? In your case ...
Bruno's user avatar
  • 8,315
1 vote

List of assets on Statemint

Using py-substrate-interface it would be something like: substrate = SubstrateInterface(url="wss://statemint-rpc.polkadot.io") assets_metadata = substrate.query_map( 'Assets', 'Metadata'...
Arjan's user avatar
  • 151
1 vote
Accepted

"Account cannot be created" when trying to transfer statemine token to sibling parachain

thanks for the responses The reason this transfer was not working in this case, is because the sibling parachain account was not created. I had mistakenly assumed that the parachain relay sovereign ...
insipx's user avatar
  • 373
1 vote

"Account cannot be created" when trying to transfer statemine token to sibling parachain

USDT is sufficient in Statemine. If you want your test to work on your local you will have to make USDT sufficient as well. As Lohann pointed, it will be soon also sufficient in Statemint. Here you ...
NachoPal's user avatar
  • 514
1 vote

how to teleport assets between statemint and polkadot in javascript

well~.i have found the result finaly.any one has the question can see https://github.com/polkadot-js/apps/blob/master/packages/page-parachains/src/Teleport.tsx#L77-L126 my test code is as follows: ...
polaris's user avatar
  • 29

Only top scored, non community-wiki answers of a minimum length are eligible