Skip to main content

Questions tagged [keyring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Keyring-ui Error: Unable to initialise options more than once

GM! Im trying to initialice keyring, but for some reason its already inicialized. This is my code: "use client" import React, { useState, useEffect, createContext, useContext } from "...
lawyerWario's user avatar
0 votes
1 answer
39 views

How to create a same polkadot wallet from mnemonic like trustwallet using @polkadot/keyring?

I have to create a wallet of polkadot like trustwallet. I tried to create a wallet with "type: ed25519" but it also return different address. Here is the trust wallet configuration { &...
Divyang Khatri's user avatar
0 votes
1 answer
45 views

How to sign with private key(Not secret key) that was created by "RFC-8032"(described below contents) on offline?

Backgrounds I am working on "ASTAR" parachain scene(TestNet: Shibuya). I can sign message(unsigned-transaction) on offline environment and then broadcast signed-messaged(signed-transaction). ...
JOHNNY JI's user avatar
1 vote
1 answer
91 views

Error: Unable to initialise options more than once

I am using polkadotjs/ui-keyring in which i am trying to use different accounts stores based on user preferences. And i am calling the loadAll to get all the accounts to the keyring, as shown in the ...
Emmanuel Thomas's user avatar
1 vote
1 answer
86 views

Getting Error when i push session keys session.NoAssociatedValidatorId

I'm getting the error session.NoAssociatedValidatorId while inserting session keys, Although my Explorer is connect to same explorer and Keys are generated by using RPC->RotateKeys(). Any sort of ...
BlockBird's user avatar
1 vote
1 answer
333 views

How to sign a transaction using secretKey with polkadot/api?

I generated the secretKey and publicKey using the steps in https://polkadot.js.org/docs/keyring/start/create/. After I get the secretKey and publicKey, I want to sign a tx using only the secretKey. ...
Teodorus Nathaniel's user avatar
2 votes
1 answer
232 views

How i convert Raw seed to Private Key in Substrate

I have a toy example : My keypair is ed25519 const seed = [ 40, 246, 184, 64, 69, 145, 132, 131, 231, 66, 112, 159, 162, 36, 79, 197, 62, 54, 222, 103, 122, 190, 7, 143, 94, 190, ...
CocDap's user avatar
  • 678
0 votes
1 answer
56 views

How to import sp_core::Pair?

In my last question, I asked about how to generate key pair in substrate.But it seems that it is hard to do this.So I have to make a conclusion that I can't generate key pair in substrate sadly. But ...
kugool's user avatar
  • 171
2 votes
1 answer
98 views

How to generate key pair in pallet or on offchain work

I received a task which is generating key pair in pallet on chain logic. I know that I should import sp_core crate. I import it like this: "use sp_core::Pair;" This line was written at the ...
kugool's user avatar
  • 171
1 vote
1 answer
71 views

How to create Signature from &str?

I'm trying to create a basic HTTP server that authorizes users with Authorization Pubkey:Sig like what Crust explained here. However, creating a Signature from &str with Signature::fromSlice() ...
Burak's user avatar
  • 903
1 vote
3 answers
547 views

How can manually generate same address from mnemonic as subkey without it?

Can someone tell me how can I generate a secret/privateKey/miniSecretKey, publicKey without subkey the tool from a mnemonic? I am working on a c# implementation of the wallet generation and I'd ...
atesz's user avatar
  • 21
6 votes
1 answer
209 views

PolkadotJS ALICE address differs

When I try to derive the Alice account with PolkadotJS I somehow end up with a different address than in the docs. Here is the code: const keyring = new (require('@polkadot/keyring').Keyring)(); let ...
Oliver Tale-Yazdi's user avatar