Skip to main content

Questions tagged [token]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 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 ...
Christian Kessler's user avatar
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?
Boleng's user avatar
  • 535
0 votes
0 answers
19 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 ...
MinhK's user avatar
  • 125
0 votes
1 answer
20 views

How to locked token in chain?

I want to locked token, how can we do this?
go11li's user avatar
  • 1,241
4 votes
1 answer
69 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 ...
Tahlil's user avatar
  • 341
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 ...
27P's user avatar
  • 115
3 votes
1 answer
54 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 ...
Tahlil's user avatar
  • 341
3 votes
1 answer
88 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 ...
Ariful Islam's user avatar
3 votes
1 answer
43 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.
Robert La Ferla's user avatar
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 { ...
0xD1x0n's user avatar
  • 119
2 votes
1 answer
82 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 ...
Balance AI's user avatar
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 ...
Discardo's user avatar
  • 436
1 vote
2 answers
157 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 ...
Edinyanga Ottoho's user avatar
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?
bun's user avatar
  • 383
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 ...
Kazunobu Ndong's user avatar
2 votes
2 answers
122 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.
Pranay's user avatar
  • 141
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 ...
KathrynColleen's user avatar
4 votes
2 answers
332 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?
Pankaj's user avatar
  • 2,021
0 votes
1 answer
164 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 ...
Nikita Chernega's user avatar
0 votes
1 answer
93 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-...
rust.dev's user avatar
  • 529
1 vote
1 answer
492 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 ...
rajohs's user avatar
  • 491
1 vote
1 answer
144 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 ...
Juan Ignacio Rios's user avatar
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 ...
islami00's user avatar
  • 561
4 votes
1 answer
224 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........
ratib90486's user avatar
2 votes
1 answer
367 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 ...
ratib90486's user avatar
1 vote
1 answer
140 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 ...
Madness's user avatar
  • 11
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 ...
Neo.Mxn0's user avatar
  • 141
0 votes
2 answers
308 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.
Sebastian Crypto's user avatar
1 vote
1 answer
67 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
user avatar
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 ...
Wonder Wilds's user avatar
2 votes
1 answer
113 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 <...
Amiya Behera's user avatar
2 votes
1 answer
85 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.
Jack's user avatar
  • 61
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 ...
Minh Mốc's user avatar
  • 1,009