Questions tagged [token]
The token tag has no usage guidance.
33
questions
5
votes
2
answers
44
views
Subsocial tokens to create profile
Where can I acquire subsocial tokens so I can start using that platform. I see that there's a faucet but when I go to the faucet it says that's no longer available because of main net launch. But that ...
4
votes
2
answers
333
views
What is the best way to create own token in substrate?
I want to launch my own token with Substrate chain. What is the best way to implement it?
4
votes
1
answer
225
views
Can't get transaction hash from signAndSend of Polkadot.js
I'm new and I'm trying to get the transaction hash but I'm only getting undefined. I used this tutorial and this and below is my code.
const txHash = await polkadot.tx.balances
.transfer('5F1pZe........
4
votes
1
answer
70
views
How can I create a bridge between a solo chain created with substrate and Ethereum blockchain?
Is there a tool offered by the substrate ecosystem that I can use, that can help me create a bridge between a solochain created with substrate and Ethereum blockchain? Specifically, I want to transfer ...
4
votes
0
answers
50
views
Which bridge should I use to transfer stable coin in other chain for solo chain? [closed]
My purpose is to transfer stable coin BUSD (BEP20) / USN (NEAR) / USDT (TRC20) to the other wallet address on the target BEP20, NEAR, TRC20 network
Is there any existing bridge that already supports ...
3
votes
1
answer
45
views
How to retrieve number of decimals for custom token (not DOT)?
How to retrieve number of decimals for custom token (not DOT)?
api.registry.chainDecimals is for DOT. I need to retrieve it for a custom token.
3
votes
1
answer
89
views
Initial Token mint in Substrate Blockchain
I have downloaded the substrate node template and started working on a new project. For my project, I want to implement a native token. I've decided to use pallet balances to implement this native ...
3
votes
1
answer
55
views
Can we mint native token from root account on Smart contract?
After building a chain from Substrate node template there are some initial native token balances in the predefined accounts. Can I mint the native token on a smart contract level using the root ...
3
votes
1
answer
88
views
What is the best practices to add new token to an account?
So I'm trying to make a faucet for my blockchain. What I'm doing is creating a faucet account with a lot of balances (with the set_balance method from the sudo pallet). When there's a drip request, I ...
2
votes
2
answers
124
views
Finding about native token of a parachain
Is there a way to query whether a chain has a native token and what it is?
For instance can I query Moonbeam, to find that it's native token is GLMR(Glimmer). Similarly for the rest of the parachains.
2
votes
1
answer
369
views
How to send specific token (like ACA) using Polkadot.js
I'm new to substrate and Polkadot and I'm coming from ETH/Solidity. I noticed many test tokens in my Polkadot.js wallet like DOT, LDOT, ACA, KSM, etc.
I'm trying to code a dapp that lets my user send ...
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
83
views
Custom emitting, minting, and max total supply
We would like to implement custom emitting of the native token, like 1 token per block. Can you point us where the minting happens using substrate? Which pallet implements it?
Also is there a way to ...
2
votes
1
answer
115
views
Slashing and rewarding funds
I am trying to understand slashing and rewarding funds from the recipe example.
https://substrate.recipes/currency-imbalances.html
For slashing funds it doesn't require initialization with <...
1
vote
3
answers
78
views
How to call PSP22::approve function from Frontend
Any guidance on how to call my psp22 approve function from the front end ? This is currently how I'm doing it but it doesn't seem to give increased allowance (although its successful) :
import { ...
1
vote
1
answer
44
views
Assets pallet token and democracy pallet
Is it possible to use a custom_token created with the assets_pallet in the democracy_pallet instead of the native_token?
EXPLANATION
When voting during a referendum, I would like the balance parameter ...
1
vote
1
answer
495
views
How to transfer a native chain token from one account to the contract?
I want to write a contract which enables the user to deposit the native chain token
in a contract and to then later withdraw the token.
The only example I found so far, only enables the user to ...
1
vote
2
answers
159
views
PSP22 cross-contract call to get metadata such as token decimals and token name using ink!
I have a little problem here.
I have the address of a contract (PSP22 token) with the {}Ref associated with it.
I want to make a cross-contract call to get the decimals of the contract.
Its Ref is use ...
1
vote
1
answer
68
views
Mint Fungible Token Development Network
Is it possible to Mint Fungible token on Development (local) Substrate?
https://polkadot.js.org/apps not showing "assets" under "network" tab.
Using substrate-contracts-node
1
vote
1
answer
145
views
Runtime panic when teleporting dot from relay to parachain locally
I'm trying to enforce a same native token rule for the relay and all future parachains in my local environment. For this, I must first configure my parachain to accept teleports from a relay account ...
1
vote
1
answer
141
views
Need help with understanding Token Economics Design for Substrate based blockchain (without any Parachains)
What are some very optimal tokenomics for a substrate based blockchain without any parachains that can be easily implemented using substrate's default framework? The documentation on W3 research says ...
1
vote
0
answers
56
views
Genesis Config of ORML tokens not loaded for other pallets
In my runtime, one pallet reserves some currency using the orml-currencies pallet on genesis, and for this, it depends on accounts having some initial balance. This should be provided by the genesis ...
0
votes
1
answer
39
views
About the total mint token in polkadot and kusama
How many tokens are minted in Polkadot and Kusama in the past year? Is there any way to find out?
0
votes
2
answers
310
views
How can I query how many decimal places does a Substrate asset have?
For example, DOT has 10 but can I check it in Polkadot JS Apps? I want to apply it to all parachain assets.
0
votes
1
answer
165
views
How to create dex pallet? [closed]
I want to create dex pallet(without using pallet-contracts) with functionality like uniswap with pools of liquidity, this dex gonna work with my multi-token-pallet. So now I'm thinking about how to ...
0
votes
1
answer
20
views
How to locked token in chain?
I want to locked token, how can we do this?
0
votes
2
answers
45
views
Add a logo to Substrate Native Token
I want to add a logo to my native token on Substrate. I've seen it's implemented for multiple Substrate-based chains, but I couldn't find their implementation logics. Like here are the logos for ...
0
votes
1
answer
68
views
What is the Token Standard used by the balances pallet to issue the native token for the chain in the substrate kitchen sink node?
We are using the kitchen sink substrate node with the standard balances pallet. No changes. The chain mints native tokens using the usual processes. My question is: what token standard is used in the ...
0
votes
1
answer
94
views
Error while adding orml_tokens. 'Orml_tokens` does not have the std feature enabled
Why I have this Error?
Tokens: orml_tokens::{Pallet, Storage, Event<T>, Config<T>} = 50,
this error originates in the macro construct_runtime (in Nightly builds, run with -Z macro-...
0
votes
1
answer
49
views
How to Synchronize EVM and Substrate Balances in a Substrate Frontier Blockchain?
I am working on a Substrate-based blockchain using the Frontier template to achieve Ethereum compatibility. I am looking to synchronize the balance states between the EVM pallet and Substrate's native ...
0
votes
0
answers
30
views
What is the best way to implement Token economics in Substrate based blockchain?
I want to implement Token economics in my Substrate based chain. Can someone please guide what is the best way to implement it? Which pallets should I use?
Is there any example?
0
votes
0
answers
20
views
Error UnknownAsset when trying to increase AssetBalance
The error is shown in substrate-frontend
Transaction Failed! system.ExtrinsicFailed::{"token":"UnknownAsset"}
Score is an asset in pallet_template,
in build function of ...
0
votes
1
answer
20
views
Westend token getting via polkadot/api
Would you please advise if there is an alternative to Faucet to get WND - does Polkadot API help with it?
I went through API documentation and did not find any info, I'm glad to be wrong :)
Thank you ...