4
votes
dApp registration issue - Shiden Network
You need to be whitelisted to be able to join dApp staking:
Please check the requirements here: https://docs.astar.network/docs/dapp-staking/for-devs/requirements
Please contact me on Astar Discord if ...
3
votes
How is a substrate address, or multisig address, calcluated from private key?
The Substrate address is actually derived from the public key:
For most networks, the public key associated with an account is how
that account is identified on the network and is used as the
...
3
votes
Vec<AccountId> breaks compilation of ink! contract
Ah, I just had to explicitely import ink_prelude::vec::Vec for that.
2
votes
Can I use ECDSA address which is compatible with Ethereum as the Native address in a substrate based blockchain?
AFAIK substrate supports a couple of signature schemes, among them secp256k1. Moonbeam is a chain built with substrate which uses Ethereum-compatible unified accounts. I suggest looking at their docs ...
2
votes
Accepted
Fetch an account's id using its Identity
Not quite the answer you were looking for, however current the only way to do it -
get all identities via identity.identityOf (If using the JS API, this would mean a .entries() query to get the full ...
2
votes
How substrate / frontier convert address
You can calculated it with this tool: Substrate EVM Utilities.
An example with a random account generated:
Secret phrase: worth wrestle meat ecology merry ginger online glad soda usage peasant ...
1
vote
Accepted
Bech32 encode/decode library for no_std to convert bytes32 into string address in runtime pallet?
dependency for pallet or any code that compiled to wasm
[dependencies]
bech32 = { package = "bech32", version = "0.9.1", default-features = false, features = [
"strict",
]...
1
vote
How to change the format of addresses on a substrate local blockchain?
Change it here.
https://github.com/paritytech/substrate/blob/f0c14f387baba0688afa9422a9bc24068d431716/bin/node-template/runtime/src/lib.rs#L200
And the letters depend on the ss58 hash algorithm.
The ...
1
vote
Is there any way to convert an ss58 address to the 32 bytes pubkey?
Yes, you can convert an address in SS58 format into the 32-byte public key. The process of encoding a public key to an SS58 format address is fully reversible since it just implies adding a prefix, a ...
1
vote
how to retrieve the list of public key addresses of all validators?
I think you have the session pallet in your runtime.
PolkadotApps -> chain state -> session -> queuedKeys
If you want to do this in code.
Query the twox128(b"Session") + twox128(b&...
1
vote
Add additional information for substrate user account
So if you're building a pallet, you could have it update the frame system data field in the AccountInfo:
/// Information of an account.
#[derive(Clone, Eq, PartialEq, Default, RuntimeDebug, Encode, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
address × 20evm × 4
substrate-node-template × 4
account × 3
polkadot × 2
parachain × 2
moonbeam × 2
frontier × 2
validator × 2
ss58 × 2
pallet × 1
ink × 1
rust × 1
assets × 1
polkadot-js × 1
wallet × 1
identity × 1
substrateinterface × 1
ethereum × 1
cryptography × 1
block × 1
signing × 1
no-std × 1
public × 1
solang × 1