Questions tagged [assethub]
The assethub tag has no usage guidance.
43
questions
7
votes
1
answer
168
views
Influence of Existential Deposits on account assets
Statemint has an Existential Deposit threshold of 0.1 DOT.
Say an account holds some amount of asset X, and transfers away all its DOT so that it goes below the ED.
What happens to its holdings of ...
6
votes
2
answers
743
views
How do I move my USDC/USDT to statemine?
Hi I heard USDT and USDC is now on statemine. How do I get access to that?
Assuming I have USDT on my ERC20 wallet, how do I get that to a substrate-based chain/parachain?
4
votes
2
answers
235
views
Do assets (from the asset pallet on State[mine/mint]) have an existential deposit?
I understand that in order to maintain an account in state on the Relay Chain an account needs to hold more than the Existential Deposit (1 DOT/0.000003 KSM), but I am wondering if assets deployed on ...
3
votes
3
answers
201
views
"Account cannot be created" when trying to transfer statemine token to sibling parachain
Ran into an issue transferring a statemine token (ex: USDt) on a local testnet with rococo-local and statemine-local. I'm trying to transfer USDt to a sibling parachain, but it fails on the statemine ...
3
votes
1
answer
254
views
FailedToTransactAsset when sending USDt from Statemint to another parachain
Now that USDt is released on Statemint, we want to use this in our parachain 'Astar'. It was no problem to send USDt from Tether to Statemint but not possible to sent the asset to another parachain.
...
3
votes
1
answer
78
views
If Sufficiency of a Statemint asset is revoked, what happens to the accounts holding only that asset?
For context: there are proposals to make RMRK https://kusama.polkassembly.io/post/1482 and USDT https://kusama.polkassembly.io/motion/470 as Sufficient assets. The existential deposit requirement is ...
2
votes
2
answers
171
views
List of assets on Statemint
How do I get the list of all the assets that are present and their supply in Statemint?
Ideally either with Polkadot-JS api or py-substrate-interface.
2
votes
1
answer
86
views
How to get the token balance(rmrk) by py-substrate?
I want to get the token balance of RMRK in the chain statemine with py-substrate.
2
votes
1
answer
119
views
Are users only allowed to own 16 assets with pallet-assets?
Every new token a user holds in pallet_assets increases the consumer count for that user +1. And most chains set the MaxConsumers of frame_system to 16.
Both mint_into and transfer call at some point ...
2
votes
1
answer
143
views
Invalid Incoming XCMP message data
Link to repo
I'm trying to do a reserve-backed transfer from statemint to my own parachain of a token minted with the pallet_assets. I've been using the xcm-emulator that lets me plug in my own ...
2
votes
1
answer
54
views
Using fungible Statemine assets with governance
What is the best design to reuse governance pallets (e.g. treasury, council, Gov2) with non-L1 tokens?
Can a Statemine fungible asset be used with these pallets?
2
votes
1
answer
380
views
How to access Statemint/Statemine assets in a parachain?
Statemint/Statemine provides a first-class interface for creating, managing, and using both fungible and non-fungible assets.
Token such as USDT are minted on it.
What methods are possible to interact ...
2
votes
1
answer
44
views
Is there a programmatic way to retrieve list of parachain sovereign accounts on Statemint/e?
I would like to run analysis on activity involving Parachain sovereign account ids on Statemint.
Is there a way I can programmatically retrieve a list of parachain sovereign ids on Statemint?
2
votes
1
answer
150
views
How to run statemine with polkadot-launch?
I am trying to run statemine in polkadot-launch. I have get 0.9.18 versions of polkadot and polkadot-collator. And trying to run like next:
{
"relaychain": {
"bin": "../...
2
votes
2
answers
93
views
Buy execution time in DOT on AssetHub
I want to execute Transact on AssetHub from another parachain and therefore need to WithdrawAsset and BuyExecution beforehand.
Unfortunately, I keep running into FailedToTransactAsset on AH. I am ...
2
votes
1
answer
79
views
I'm using Polkadot js api to fetch the westmint nft pallet collection and their details but i got an error it dosen't show me the instance id
I tried to figure out the collection id from the api i got an hex value but when i tried to convert that hex to numbers i got an undefined value here is my code
i think the hex value which is outside ...
1
vote
1
answer
80
views
Does holding only sufficient asset in statemint imply there is no ED for the account?
Do I need to account for ED when transferring Sufficient asset from statemine to parachain?
1
vote
1
answer
83
views
How to solve the issue"Element "asset_id" of struct is missing in given value" when I send a token transaction
I send the transaction using the substrate interface.
I get the key pair and call:
call_module = "Assets"
call_function = 'transfer'
call_params = {
"id": asset_id,
"...
1
vote
1
answer
95
views
How to create NFT in Statemint?
How to create nft in statemint in javascript.and how to set the nft images. can any one provide the example. my test code go wrong.
const wsProvider = new polkadot.WsProvider("wss://westmint-rpc....
1
vote
1
answer
40
views
XCM: messageQueue.Processed
I'm new to the world of Cross-Consensus Messaging (XCM). I'm trying to send an XCM message from Rococo AssetHub to Trappist to transfer funds from an asset that I've created on both chains, but I ...
1
vote
1
answer
70
views
Setting up an HRMP Channel between a Parachain and Rococo Asset Hub (Rockmine)
I'm currently working on understanding the process for establishing an HRMP channel between a parachain and the [Rococo Asset Hub][1] (Rockmine).
I'm wondering whether a motion to the governance is ...
1
vote
0
answers
19
views
Calculating reserved amount on Kusama asset hub
I'm looking for a way to calculate the reserved amounts on the Kusama Asset Hub. I've written some code to calculate the reserved amounts for Uniques deposit.
api.query.uniques.class.entries()....
1
vote
0
answers
26
views
What should be the proper XCM format?
I'm not sure if these are the right questions to ask, as I'm pretty new to the world of Cross-Consensus Messaging (XCM), but I'm really curious about how to properly create XCM instructions or an XCM ...
1
vote
1
answer
39
views
Wallet support for assets minted on AssetHub
Is there any wallet that is able to display assets minted on the Polkadot AssetHub (other than polkadot.js/apps)? The only wallet I've found that displays some AssetHub assets is NovaWallet, but the ...
1
vote
0
answers
31
views
TXs in pendingExtrinsics() not always being picked up and then added in the block
When adding many batchAll TXs containing mint() and freeze() assets to AssetHub Rococo chain, there are times when TXs in rpc -> author -> pendingExtrinsics() just sit there and don't get ...
1
vote
0
answers
52
views
How to solve " ValueError: Element count of value (1) doesn\'t match type_definition (2)" when I teleport ksm in kusama to ksm in statemine? [duplicate]
I want to teleport the ksm in kusama to ksm in statemine. I use the code
call = _substrate.compose_call(
call_module='XcmPallet',
call_function='limited_teleport_assets',
...
0
votes
4
answers
102
views
Superuser xcm origin being used on reserve asset transfer from asset hub to parachain
I'm testing a reserve asset transfer from polkadot asset hub to a parachain using chopsticks, the transfer is failing, I think this is because the xcm origin being used for the reserve asset transfer ...
0
votes
2
answers
144
views
Is teleport of ROC from Rockmine to my parachain should be used instead of reserve transfer?
I am trying to polkadotXcm.reserveTransferAssets of ROC on from Rockmine to Dali https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-rockmine-rpc.polkadot.io#/extrinsics/decode/...
0
votes
1
answer
104
views
How can I see the assets deployed on Statemint/Statemine with all their related information on Polkadot.js UI?
How can I see the assets deployed on Statemint or Statemine parachains and read all their parameters and metadata? I would like to do that directly on Polkadot.js UI, is that possible?
0
votes
1
answer
21
views
Polkadot js api not working properly causing issues after the recent upgrade
RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable` ...
0
votes
1
answer
31
views
Set Item Metadata on`mintType = Public`
I just created a collection with mintType = Public. So, anyone can mint in that collection. The question is, how do you set default item metadata? So, when anyone mints it, the item will automatically ...
0
votes
1
answer
53
views
If the first ever reserve asset transfer from asset hub to a parachain is of an asset other than DOT it fails with LocalExecutionIncomplete
I've noticed that if the first ever reserve asset transfer from asset hub to a parachain is of an asset other than DOT it fails with LocalExecutionIncomplete, the chopsitcks logs don't show any output....
0
votes
1
answer
31
views
Do I need to create a proposal on OpenGov in order to open an HRMP channel?
I'm not sure if this is the right question to ask, but do I need to create a proposal on OpenGov in order to open an HRMP channel between Kusama AssetHub and my Parachain?
Any insights or resources ...
0
votes
1
answer
33
views
How to get block number from `nfts`
Is it possible to get blocknumber or created timestamp from this query?
await api.query.nfts.item.keys(collectionId)
0
votes
2
answers
115
views
Opening HRMP Channel from AssetHub to Parachain using only paraId
I'm exploring the deployment of a parachain with an HRMP channel from AssetHub on day 1 to facilitate the migration of preexisting assets. Due to governance processes, this can take up to 28 days for ...
0
votes
1
answer
66
views
SendFailure error when performing reserve asset transfer from rococo asset hub to parachain
I'm getting a SendFailure error(on asset hub) when performing a reserve asset transfer of ROC from rococo asset hub to a parachain, does anyone know what might be the cause? Or how can I further debug ...
0
votes
1
answer
43
views
How can i create a collection on statemint nft pallet without reserving 10 DOT
Is there some way i can use to create a collection on statemint nft pallet without reserving 10 DOT i tried force create but it is currently disabled and i also tried utility batch all but it didn't ...
0
votes
1
answer
156
views
how to teleport assets between statemint and polkadot in javascript
i have not found the examples to teleport between statemint and polkadot. is ther any one can give some examples in javascript.what i use is
@polkadot/api
this is my code:
i have found the teleport ...
0
votes
1
answer
23
views
XCM Transactions - Polkadot to Asset Hub (Statemint)
I understood how to create a message to send some DOT from polkadot to asset hub.
My main question is, how to track the whole flow of the transactions to be sure it succeeded?
To contextualise, I have ...
0
votes
0
answers
20
views
How to use the Substrate H160 address to sign a transaction on moonbeam?
Woof and hello substrated people,
I have a special issue where I need your support. I shared an extrinsic with my community to transfer $WIFD from AH to Moonbeam, so far so good.
In this example "...
0
votes
0
answers
10
views
Unable to burn NFTs in my collection
I've minted a NFT collection using the nft-campaign-runner but forgot to set the execution to known addresses and instead got a collection that was minted to new addresses with a gift code. Since that ...
0
votes
1
answer
76
views
transaction failed Error: createType(SignerPayload):: Struct: failed on assetId: Option<AssetId>:: Unable to construct number from multi-key object
Does anyone know how to solve this error?
I am trying to pay transaction fees with sufficient tokens on Westend Asset Hub by passing an asset MultiLocation to the options in the signAndSend function.
...
0
votes
0
answers
24
views
Couldn't setMetdata on nft using Asset Hub
This is Polkadot Punks #2 : https://kodadot.xyz/ahp/gallery/7-2
Accidentally i set Nft config of this nft to 6
{
settings: 6
}
which in result dosen't allow me to setMetdata on it
how can i change ...