Skip to content

ilmoi/degen-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Degen wallet 🍌

TUI-based wallet for both Ethereum and Solana. Built for fun and no profit.

What it does

  • Let's you create a new wallet with a fresh mnemonic

  • Let's you import an existing one

  • Saves it as a keystore file & let's you login back later

  • Let's you transact in eth and erc20 tokens

  • Let's you transact in sol and spl tokens

Use

cd degen-wallet-rs
cargo run

Currently only works on mac / linux due to limitations of Termion backend. If you're on windows you can package it up using a simple Dockerfile along the lines of:

FROM rust:latest
WORKDIR app
COPY . .
CMD ["cargo run"]

play dir simply has a bunch of play code I wrote when exploring various libraries / learned how things work.

To add more tokens visit src/sol/client/program for spl or src/eth/web3/contract for erc20. It's manual and it sucks but hey this was a toy project.

Original plan

  1. Build a wallet βœ…
  2. Do it for both eth and sol βœ…
  3. Do it in rust βœ…
  4. Use it to interact with the two defi ecosystems ❌ (decided too much for a tui-wallet)
  5. See if I can do cross-chain stuff ❌ (decided too much for a tui-wallet)