Skip to content

Shailu-s/wallet-service

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

A robust custodial Wallet Management Service designed to empower users with secure wallet creation, fund management, and transaction capabilities. The service currently supports Sepolia Testnet and Solana Testnet, with features to extend support for additional chains and tokens.

This service ensures top-tier security through encryption mechanisms implemented on both the user and server ends, safeguarding private keys against potential leaks.

Key Features

  1. User Wallet Management

    • Users can register and create custodial wallets securely.
    • Supports wallet-related operations:
      • Transfer funds to other wallets.
      • Fetch balances for both native tokens and supported stablecoins.
    • Current supported tokens:
      • USDC
      • USDT
    • Supports two blockchains:
      • Sepolia Testnet (Ethereum-based)
      • Solana Testnet
  2. Security-First Design

    • Dual-ended encryption mechanism ensures:
      • User private keys remain confidential.
      • Secure data handling during wallet operations.
  3. Role-Based Access Control

    • Roles Defined:
      • User:
        • Manage individual wallets.
        • Transfer funds and query balances.
      • Admin:
        • Add support for new chains and tokens.
        • Oversee system operations and configurations.
  4. Future-Proof Expansion

    • Designed to allow seamless addition of:
      • New blockchains.
      • Additional tokens.
    • Customizable to accommodate evolving user requirements.

Project setup

$ npm install

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Run tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Env

Check the .env.example file

Swagger

Check the following - http://localhost:8080/api-doc

Support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published