Questions tagged [address]
The address tag has no usage guidance.
16
questions
0
votes
1
answer
39
views
How to convert h160 address to ss58 address?
I am a dApp developer in Astar.
I want to convert EVM(h160) address to Substrate(ss58) address to implement the UI like the subscan page.
https://astar.subscan.io/account/...
2
votes
1
answer
29
views
How to Recover Address from MasterPrivateKey in JS
I trying to make Signature using Polkadot.js without mnemonic in LedgerAddress.
import { hdLedger } from "@polkadot/util-crypto";
import { u8aToHex } from "@polkadot/util";
import ...
0
votes
3
answers
103
views
Get SS58 Address from public key
I have my hex public key, how can I convert it to an SS58 Address?
I have found the snippet to do it using PolkadotJS here: How to convert Public key (hex) to SS58 Address in JavaScript / Polkadot-JS? ...
0
votes
0
answers
52
views
Mapping EVM Address to Substrate Address with Preserved Balance
I'm working on a project involving an EVM-compatible Substrate blockchain and facing a challenge. The problem arises when trying to map Ethereum-based addresses, acquired through Metamask, to the ...
0
votes
1
answer
48
views
Bech32 encode/decode library for no_std to convert bytes32 into string address in runtime pallet?
I want to convert bytes into string address.
I have only two options because of Junction limitation: bytes32 or bytes20.
pub enum Junction {
...
AccountId32 { network: Option<NetworkId>, ...
4
votes
0
answers
36
views
I need a way to gather information about the address length and value length of each parachain
Solang is a solidity compiler that compiles to the wasm pallet. In Solang's CLI, there are options to configure the target parachain address length and value length. What I want to add is a feature ...
3
votes
1
answer
76
views
How substrate / frontier convert address
We are using frontier with substrate to be able to deploy evm smart contract.
When I create a transfer between two evm address and that the second one does not exist, the node create a new ss58 ...
3
votes
1
answer
56
views
How to change the format of addresses on a substrate local blockchain?
I have run a local node on my local host using the substrate documentation at:
https://docs.substrate.io/tutorials/build-a-blockchain/build-local-blockchain/
Also I git cloned the UI Frontend for ...
3
votes
1
answer
133
views
Is there any way to convert an ss58 address to the 32 bytes pubkey? [duplicate]
I want to do this inside a precompile, so it is runtime and I don't have access to std.
1
vote
1
answer
88
views
how to retrieve the list of public key addresses of all validators?
I am writing a custom gRPC server(not in runtime) and i want to retrieve the public keys of the validators to verify messages signed by them, but i need their public key addresses, how to do that in ...
1
vote
1
answer
53
views
Add additional information for substrate user account
At the time of creating the user and keys, I need a way to add a field or fields related to this particular blockchain network, such as role.
Is there a solution?
1
vote
1
answer
33
views
dApp registration issue - Shiden Network
I'm in the process of making a video tutorial for The Kusamarian YouTube channel :"How to register a dApp on Shiden Network"
I went through all the steps, but it failed at the end.
Could you ...
1
vote
1
answer
113
views
Can I use ECDSA address which is compatible with Ethereum as the Native address in a substrate based blockchain?
For my project, I have to build a blockchain using ECDSA address in order to be compatible with Ethereum. But the native address is in sr25519 scheme in substrate. What should I do to implement this? ...
1
vote
1
answer
241
views
How is a substrate address, or multisig address, calcluated from private key?
What are the (high-level) steps to, firstly, create a substrate address from a private key and secondly, to create a m-of-n multisig address?
A description similar to this image would be just about my ...
0
votes
1
answer
79
views
Vec<AccountId> breaks compilation of ink! contract
In my contract I want to store addresses of all users who called a specific function of the contract. For that purpose I use
#[ink(storage)]
#[derive(SpreadAllocate)]
pub struct Postbox {
...
0
votes
1
answer
83
views
Fetch an account's id using its Identity
In kusama account recovery, you have to have your lost account's id (address) to initiate the recovery process, but when you lost an account, in most cases it's id is forgotten too. If we can kind of ...