Skip to content

A Basic Ethereum self-custody wallet built from scratch without using Web3 libraries. Includes manual raw transaction creation, nonce management, gas estimation, and HD wallet support. Designed for educational use on test networks only. - key generation, wallets & transactions are all done without external libraries

Notifications You must be signed in to change notification settings

Cascou/ethereum-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Basic Crypto Wallet (Work in Progress)

Building a basic Ethereum self-custody wallet from scratcch without using existing wallet or transaction libraries. To demonstrate a deep understanding of Ethereum's core mechanics by implementing raw transaction construction, signing, and broadcasting using only cryptographic libraries.

🚀 Wallet Overview

This Ethereum-based wallet allows users to manage their funds by signing and sending raw transactions directly via RPC. All wallet functionalities, including account nonce management gas estimation, and raw transaction creation, are handled manually.

🛠 Core Features

💰 Wallet

  • Create a wallet from a 24-word seed phrase + password.
  • Import wallet using seed phrase.
  • Derive multiple addresses via indexed wallet creation (HD wallets).

📤 Transactions

  • Manually construct and sign raw Ethereum transactions.
  • Broadcast transaction using an RPC provider.

🐵 Tokens

  • Import and display ERC-20 tokens on the Sepolia network.

🧱 Improvements Roadmap

  • Support more networks (currently only Sepolia).
  • Send and manage ERC-20 tokens via smart contract interaction
  • Implement token swap functionality between ERC-20 tokens.
  • Display NFT holdings in the wallet.
  • Refactor UI for a simpler, modern experience.
  • Fix frontend rendering bugs.
  • Introduce plugin wallet.

🧪 Usage

Install Dependencies

npm install

Run Project Locally

npm run dev

About

A Basic Ethereum self-custody wallet built from scratch without using Web3 libraries. Includes manual raw transaction creation, nonce management, gas estimation, and HD wallet support. Designed for educational use on test networks only. - key generation, wallets & transactions are all done without external libraries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published