Git Product home page Git Product logo

seiyaj-wallet's Introduction

Seiyaj Wallet

Seiyaj Wallet is a web application built with React and TypeScript, using Vite as the build tool. It allows users to transfer tokens using the Seiyaj Wallet.

Getting Started

First, clone the repository to your local machine:

git clone https://github.com/anhlh-edsolabs/seiyaj-wallet.git
cd seiyaj-wallet

Next, initialize the project and install the dependencies:

./init.sh

Then, update the .env file in the root directory and add your VITE_WALLET_CONNECT_PROJECT_ID and VITE_SEIYAJ_TOKEN_ADDRESS:

VITE_WALLET_CONNECT_PROJECT_ID=your_project_id
VITE_SEIYAJ_TOKEN_ADDRESS=your_token_address

Finally, start the development server:

yarn dev

Open http://localhost:5173/ in your browser to view the application.

Building the project

To build the project, run:

yarn build

Deployment

The project is deployed to Vercel at https://seiyaj-wallet.vercel.app/.

To test the app, import the wallet with the private key below to MetaMask, connect the wallet to the app and switch to sepolia testnet. It already has 1.000.000 SYT (SeiyajToken) and ~0.1 ETH for paying transaction fee.

  • Wallet address:
0xb265c26f9d78bF819B35F95A340D164bdC1DbCDA
  • Private key:
0x9811ed93a00af4890c6d82f71205eeaa5f50ca13e67ff04a861350faf682cff7

Components

The project is structured as follows:

.
├── .env
├── .env.sample
├── .eslintrc.cjs
├── .gitignore
├── index.html
├── package.json
├── public/
├── README.md
├── src/
│   ├── App.tsx
│   ├── assets/
│   ├── common/
│   │   ├── abis/
│   │   │   └── SeiyajToken_ABI.json
│   │   └── config.ts
│   ├── components/
│   │   ├── buttons/
│   │   │   └── ButtonTransfer.tsx
│   │   ├── CardERC20Token.tsx
│   │   ├── CardHistory.tsx
│   │   ├── CardWallet.tsx
│   │   ├── modal-ui/
│   │   │   └── ModalTransfer.tsx
│   │   └── TokenBalance.tsx
│   ├── index.css
│   ├── main.tsx
│   └── vite-env.d.ts
├── test/
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts

Built With

  • Mantine - A React components and hooks library with native dark theme support, focus on usability, accessibility and developer experience.
  • WalletConnect - An open protocol for connecting Wallets to Dapps.
  • Wagmi - A core library for rapid development of decentralized applications.

Author

Le Hoang Anh [email protected]

seiyaj-wallet's People

Contributors

anhlh-edsolabs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.