Skip to main content

Questions tagged [accountid]

0 votes
1 answer
32 views

Alith has Public Address: 0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac and Private Key: 0x5fb92d6e98884f76de468fa3f6278f8807c48bebc13595d45af5bdc4da702133. Using subkey inspect I could not find a way to ...
Purple_Turtle's user avatar
1 vote
2 answers
49 views

I am working on a Substrate runtime and would like to convert a string representation of an address, such as "5HYKElof8yaKoyCX9L...GHii4BkrgvKymz34W", into a Substrate AccountId so that I ...
sntrk's user avatar
  • 11
1 vote
1 answer
61 views

The examples in substrate use the sr25519 AccountId and Multisignature for creating offchain workers with signed transactions. Is there a way to use AccountId20 and EthereumSignature for a node using ...
Discardo's user avatar
  • 436
2 votes
0 answers
40 views

I have two 2 storage in the pallet : #[pallet::storage] #[pallet::getter(fn subscriber)] pub type Subscriber<T:Config> = StorageValue<_, BoundedVec<T::AccountId, T::...
Deepak Chaudhary's user avatar
0 votes
0 answers
65 views

699 | acc_vec.push((account_id, userInfo.weight.saturated_into::<u64>())); | ^^^^^^^^^^ expected `Public`, found associated type | ...
Latte Xu's user avatar
  • 105
1 vote
1 answer
68 views

Say I want to send and receive tokens from AssetHub in my chain that is using AccountId20 format to interact with internal pallets. I understand that Rococo uses AccountId32 so how would I go about ...
Valentin Fernandez's user avatar
0 votes
1 answer
103 views

I want to deliver some test where in part of the task is to create accounts and deposit them. I do it in the code below: let account_id_bytes: [u8; 32] = [0u8; 32]; let account_id_1: AccountId32 = ...
Tomasz Waszczyk's user avatar
1 vote
1 answer
147 views

In my runtime I'm using pub type AccountId = <<Signature as Verify>::Signer as IdentifyAccount>::AccountId;. Within my pallet I also need this type to implement From<SomeType>. I ...
magecnion's user avatar
  • 394
3 votes
1 answer
127 views

After reading through the BLS related issues in the substrate repo, it isn't quite clear to me what type of support is planned for the BLS signature scheme. It seems like the primary goal is to ...
user2959071's user avatar
1 vote
2 answers
19 views

Cargo Contract is a popular tool for developing ink! contracts. This tool is known to work well with the substrate contracts node, and I thought it should work with other chains that support pallet ...
JoshOrndorff's user avatar
  • 1,211
4 votes
1 answer
59 views

I've seen some Substrate repo's where the SessionKeys (Aura, Babe, Grandpa, etc) are used with unchecked_into() .While the stash/controller keys are only used with into(). These are some examples: ...
Discardo's user avatar
  • 436
2 votes
1 answer
88 views

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
  • 637
2 votes
1 answer
105 views

I'm working on Substrate based project. In the project, each blockchain validator has an offchain worker. author_insertKey() is used to set up a key so the offchain worker can sign transactions. Each ...
Maksim Ramanenkau's user avatar
3 votes
0 answers
86 views

I try to solve Rust's error that I included below: = note: expected struct `Mapping<ink::ink_primitives::AccountId, u128>` found reference `&Mapping<ink::ink_primitives::...
Tomasz Waszczyk's user avatar
1 vote
3 answers
414 views

I'm building a dApp and would like to treat the contract address as a String. I was able to find a way to convert a String to an AccountId, but no example exists for the reverse case. I also tried ...
s.Takahashi's user avatar

15 30 50 per page