Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.36 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.36 KB

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)