keys-accounts

Manage Ethereum keys, accounts, and keystores using Nethereum libraries.

2.3k|747|Updated Nov 23, 2015
One-click install
npx skills add https://github.com/Nethereum/Nethereum --skill keys-accounts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: keys-accounts
Source: https://github.com/Nethereum/Nethereum/tree/main/plugins/nethereum-skills/skills/keys-accounts
Command: npx skills add https://github.com/Nethereum/Nethereum --skill keys-accounts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the management of Ethereum cryptographic keys and accounts, enabling users to securely generate, encrypt, decrypt, and load wallets.

Core Features & Use Cases

  • Key Generation: Create new private/public key pairs.
  • Account Creation: Instantiate accounts from private keys or keystores, with support for specific chain IDs.
  • Keystore Management: Encrypt private keys into standard keystore files (Scrypt or PBKDF2) and decrypt them.
  • View-Only Accounts: Create accounts for read-only access to blockchain data without the ability to sign transactions.
  • Use Case: Securely generate a new Ethereum wallet, encrypt it with a password, and then load it to interact with the blockchain.

Quick Start

Use the keys-accounts skill to generate a new Ethereum key pair and display the public address.

Frequently Asked Questions about keys-accounts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate and encrypt an Ethereum keystore using Nethereum?

To generate and encrypt an Ethereum keystore using Nethereum, create a new private/public key pair and encrypt the private key with a password. This produces a standard Scrypt or legacy PBKDF2 keystore file for secure wallet storage.

Can I create a view-only Ethereum account for read-only blockchain data access?

Yes, you can create a view-only Ethereum account for read-only blockchain data access. This account type allows you to query blockchain data without enabling the ability to sign transactions.

What is the difference between Scrypt and PBKDF2 keystore formats in Ethereum wallets?

Scrypt and PBKDF2 are both supported keystore encryption formats for Ethereum wallets. Scrypt is the modern standard requiring more memory, while PBKDF2 is a legacy format maintained for backward compatibility with older wallet files.

How do I load an Ethereum account from a private key with a specific chain ID?

You load an Ethereum account from a private key by instantiating it through Nethereum libraries. This process supports specifying specific chain IDs to ensure the account is correctly configured for the target blockchain network.

Does Nethereum support decrypting legacy PBKDF2 keystore files?

Yes, Nethereum supports decrypting legacy PBKDF2 keystore files. The library handles both standard Scrypt and legacy PBKDF2 formats, allowing you to decrypt and load wallets regardless of the encryption standard used.