public class AccountProvider extends Object
| Constructor and Description |
|---|
AccountProvider() |
| Modifier and Type | Method and Description |
|---|---|
static EthAccount |
from(org.ethereum.crypto.ECKey ecKey) |
static SecureKey |
from(File file) |
static EthAccount |
from(String id) |
static EthAccount |
fromPrivateKey(byte[] privateKey) |
static EthAccount |
fromPrivateKey(String privateKey) |
static List<SecureKey> |
listKeystores(File directory) |
static List<SecureKey> |
listMainKeystores() |
static List<SecureKey> |
listRopstenKeystores() |
public static EthAccount fromPrivateKey(byte[] privateKey)
public static EthAccount fromPrivateKey(String privateKey)
public static EthAccount from(org.ethereum.crypto.ECKey ecKey)
public static EthAccount from(String id)
Copyright © 2017. All rights reserved.