Slyracoon23 / backpack

πŸŽ’ Next level crypto wallet

Home Page:https://backpack.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backpack

A home for your xNFTs

Build Status Tutorials Discord Chat

Note

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

Table of contents:

Installing the Latest Release

If you'd like to install the latest dev release, grab the latest build.zip here and add it to your local chrome profile, using developer mode. See the video below.

Developing Locally

setup.mp4

Pull the code

git clone git@github.com:coral-xyz/backpack.git
cd backpack
git submodule init
git submodule update

Temporary preliminary steps

Enable self-signed local SSL certs

Go to chrome://flags/#allow-insecure-localhost and enable the toggle, then restart chrome. Note: Please don't enable this if you don't know what you're doing. It will leave you vulnerable to exploits if left on. It is recommended to undo this step when you are done developing.

Environment variables

You can also optionally rename .env.example to .env and set your own variables.

Install dependencies

yarn install

Build all packages for production

yarn build

Start packages for development

yarn start

Note: In a fresh repo, you should run yarn build before yarn start.

If you run into issues with builds try running yarn clean and then start again.

Install the development version of the extension

Go to chrome://extensions, enable developer mode (top right) and drag the packages/app-extension/dev dir into the window. This version will have (Dev) in the title and supports live-reloading.

Not seeing the dev folder?

  • Do you have a stale node process running? Try to kill it all: killall -9 node and start over
  • Try running yarn start from within packages/app-extension while running yarn start from root. This should work.

Optionally install the built extension

If you want to try the production build of the extension, run yarn build and drag the packages/app-extension/build dir into chrome://extensions as above. This version won't have hot-reloading and local plugins won't be visible unless you also run yarn start

License

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion by you shall be licensed at the discretion of the repository maintainers without any additional terms or conditions.

About

πŸŽ’ Next level crypto wallet

https://backpack.app

License:Other


Languages

Language:TypeScript 98.0%Language:JavaScript 1.3%Language:HTML 0.3%Language:Shell 0.2%Language:PLpgSQL 0.1%Language:CSS 0.1%Language:Dockerfile 0.0%