MyGit
🚩收到GitHub仓库的更新通知

coral-xyz/backpack

Fork: 695 Star: 1141 (更新于 2024-03-24 23:51:16)

license: GPL-3.0

Language: TypeScript .

🎒 Next level crypto wallet

最后发布版本: 0.10.1-latest-4 ( 2023-12-26 00:07:56)

官方网址 GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

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

https://user-images.githubusercontent.com/101902546/173857300-fc139113-0af5-46fc-baad-236a2ebf63f1.m4p

Pull the code

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

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

Install dependencies

yarn install

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

Build all packages for production

yarn build

Start everything inside ./packages for development

yarn start

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

Troubleshooting

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

Seeing `WebSocket connection to 'wss://localhost:9997/ws' failed` error messages in your console?

You need to install a SSL certificate for localhost as the one provided by webpack-dev-server is considered invalid. This step is optional as react-refresh will still function without it, but it's a good idea to try and fix this error because otherwise your browser will be making a lot of failed requests and webpack-dev-server might not be functioning to its full capabilities.

A relatively simple way of doing this is using mkcert

Instructions for how to install a trusted self-signed cert on macOS -

cd packages/app-extension
brew install mkcert
mkcert localhost
mkcert -install

Now the next time you run yarn start the errors should no longer appear.

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.

最近版本更新:(数据更新于 2024-03-24 04:53:55)

2023-12-26 00:07:56 0.10.1-latest-4

2023-07-01 11:32:24 0.6.12-latest-5868

2023-07-01 10:02:50 0.6.12-latest-5867

2023-07-01 07:22:12 0.6.12-latest-5860

2023-07-01 06:56:19 0.6.12-latest-5857

2023-07-01 05:08:11 0.6.12-latest-5851

2023-07-01 02:06:29 0.6.12-latest-5849

2023-07-01 01:35:44 0.6.12-latest-5847

2023-06-30 23:32:18 0.6.12-latest-5845

2023-06-30 22:45:48 0.6.12-latest-5843

coral-xyz/backpack同语言 TypeScript最近更新仓库

2024-03-28 22:56:46 Tencent/tdesign-vue-next

2024-03-28 15:09:31 Tencent/tdesign-react

2024-03-28 12:18:36 clash-verge-rev/clash-verge-rev

2024-03-28 09:15:24 react-native-webview/react-native-webview

2024-03-28 03:56:16 renovatebot/renovate

2024-03-27 23:09:49 siyuan-note/siyuan