Skip to main content

Questions tagged [multiaddress]

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 views

Write node details to IPFS

I want to write the multi-addresses of all nodes in my network to a file on the IPFS. I see that there's this module that can be used to write data to IPFS, I was just wondering whether it would be ...
Discardo's user avatar
  • 436
2 votes
1 answer
84 views

How can I convert an account of type sp_runtime::traits::IdentifyAccount::AccountId to sp_runtime::AccountId32?

I get the following error when trying to convert my frame_system::Config::AccountId to a MultiAddress. expected enum `MultiAddress<sp_runtime::AccountId32, ()>` found enum `MultiAddress<&...
Snowmead's user avatar
  • 625
4 votes
1 answer
248 views

How to get Multiaddr of a peer?

What is idiomatic way to get peer's Multiaddr given we have its PeerId? There exists get_authority_ids_by_peer_id which seems useful but when spinning up multiple nodes locally which connect to each ...
klbrvik's user avatar
  • 126
2 votes
2 answers
45 views

Is there a simple way to get the KSM address associated with a generic address using polkadot-js library?

I'm trying to get the associated KSM address for a generic address. I was wondering if there was a simple way to do this using polkadot-js library
polkadot76534's user avatar
4 votes
1 answer
139 views

How to use `AccountIndex` with `MultiAddress` in a parachain?

In this pull request #19 I am trying to merge the following features into a working parachain based on the substrate-parachain-template in this pull request #17 here: Added AccountIndex to the ...
Luke Schoen's user avatar
  • 2,376