LogoLogo
  • 👋Introduction
    • Welcome
      • Actived Aggregators
      • Supported Chains
    • Vision
    • Upcoming development
    • Tokenomics
  • 📖User Guide
    • Get Started
      • How to connect a wallet
      • How to swap tokens
      • How to switch chains
    • FAQ
    • Disclaimer
  • 🤖Features
    • Staking
    • Trading Signals
    • Referral Program
    • Cross-chain Swap
    • LSD Aggregator
  • AMBASSADOR
    • Community Ambassador
      • Application Form
    • Trading Ambassador
      • Application Form
  • Widget
    • Getting Started
    • Example Themes
    • Widget Config Reference
  • SDK
    • Quick Start
    • SDK API
    • SDK Swap
  • API
    • Best Practice
    • API Reference
    • Cross Chain API
  • APPENDIX
    • 0xGen Wallet
    • Fee Overview
    • Media Kit
  • MORE
    • Github
    • Discord
    • Telegram
    • Twitter
    • Blog
Powered by GitBook
On this page
  • Install the gen wallet
  • example
  1. APPENDIX

0xGen Wallet

Install the gen wallet

use npm

npm i @gen/wallet

use yarn

yanr add @gen/wallet

example

import { MetaMask } from "@gen/wallet";
const walletMetaMask = new MetaMask()
await walletMetaMask.requestConnect(chainId)

console.log(walletMetaMask)
PreviousCross Chain APINextFee Overview

Last updated 2 years ago