new Keypair(keys)
Keypair represents public (and secret) keys of the account.
Currently Keypair only supports ed25519 but in a future this class can be abstraction layer for other
public-key signature systems.
Use more convenient methods to create Keypair object:
- Source:
Parameters:
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
keys |
object
|
At least one of keys must be provided.
|