Skip to content

DeepanshuMishraa/backpack

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Backpack Logo

Backpack

A home for your xNFTs

Build Status Tutorials Discord Chat

Important Note

  • Backpack is in active development, so all APIs are subject to change.
  • This code is unaudited. Use at your own risk.
  • We emphasize: This is not ready for production use.

Table of Contents

Installing the Latest Release

To install the latest development release:

  1. Download the latest build.zip from our Releases page.
  2. In Chrome, go to chrome://extensions/ and enable "Developer mode" (top right).
  3. Drag and drop the downloaded zip file into the Chrome extensions page.

For a visual guide, please refer to this video.

Developing Locally

Prerequisites

  • Git
  • Node.js
  • Yarn package manager
  • Google Chrome browser

Getting Started

  1. Clone the repository:

    git clone git@github.com:coral-xyz/backpack.git
    cd backpack
  2. Enable self-signed local SSL certificates:

    • Navigate to chrome://flags/#allow-insecure-localhost in Chrome.
    • Enable the toggle and restart Chrome.

    Warning: Only enable this for development. Disable it when you're done to avoid security vulnerabilities.

  3. Set up environment variables:

    • Rename .env.example to .env and configure as needed.
  4. Install dependencies:

    yarn install

Build and Run

  1. Build all packages:

    yarn build
  2. Start the development server:

    yarn start

    Note: For a fresh repository, always run yarn build before yarn start.

Troubleshooting

If you encounter build issues:

yarn clean
yarn build
yarn start

For WebSocket connection errors (wss://localhost:9997/ws failed):

  1. Install mkcert:

    cd packages/app-extension
    brew install mkcert
  2. Generate and install certificates:

    mkcert localhost
    mkcert -install

Restart the development server after these steps.

Installing the Extension

Development Version (with live-reloading)

  1. Go to chrome://extensions/
  2. Enable "Developer mode" (top right)
  3. Click "Load unpacked" and select the packages/app-extension/dev directory

If the dev folder is missing:

  • Ensure all Node processes are terminated: killall -9 node
  • Try running yarn start in both the root directory and packages/app-extension

Production Build

To test the production build:

  1. Run yarn build
  2. In chrome://extensions/, load the packages/app-extension/build directory

Note: This version won't have hot-reloading, and local plugins may not be visible unless you also run yarn start.

License

By contributing to this project, you agree that your contributions will be licensed under the terms decided by the repository maintainers, unless explicitly stated otherwise.

About

๐ŸŽ’ Next level crypto wallet

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.0%
  • JavaScript 2.4%
  • Other 0.6%