mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 05:05:41 +00:00
Make public key mandatory in insert_key (#3512)
This commit is contained in:
@@ -406,11 +406,12 @@ https://github.com/paritytech/substrate/blob/master/core/primitives/src/crypto.r
|
||||
user can declare any key type.
|
||||
|
||||
```
|
||||
curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["KEY_TYPE", "SEED"],"id":1 }' localhost:9933
|
||||
curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["KEY_TYPE", "SEED", "PUBLIC"],"id":1 }' localhost:9933
|
||||
```
|
||||
|
||||
`KEY_TYPE` - needs to be replaced with the 4-character key type identifier.
|
||||
`SEED` - is the seed of the key.
|
||||
`PUBLIC` - public key for the given key.
|
||||
|
||||
== Documentation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user