An open API service indexing awesome lists of open source software.

https://github.com/soldapper/xtrader


https://github.com/soldapper/xtrader

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# xTrader

## install dependencies
```javascript
npm i
```
## create .env file
```javascript
touch .env
```
## add rpc to .env
```javascript
RPC=
```
## rename .parcellrc to .parcelrc-temp
a temporary rename until you've generated your own .well-known/assetlinks.json fingerprint during packaging for the dapp store later
```javascript
mv .parcellrc .parcelrc-temp
```
## start on localhost
```javascript
npm start
```
## default port
```javascript
http://localhost:1234
```
## customize
• edit the manifest.json details

• edit the metatags in head section of src/index.html

• edit images and css as necessary

*help with icon and splash screen image generation can be found here: [PWA Builder](https://www.pwabuilder.com)

## package for dapp store
your app must hosted on your fqdn and be a fully functional pwa to continue

here is a tool to help:
[PWA Builder](https://www.pwabuilder.com)

1. create a new mobile directory
```javascript
touch mobile
```
2. navigate to the directory
```javascript
cd mobile
```
3. continue here [Solana Mobile Docs](https://docs.solanamobile.com/dapp-publishing/publishing-a-pwa)

--------------------------------

```javscript
bubblewrap update --manifest=./twa-manifest.json
```
replace the mobile/store_icon.png generated by with the high def store_icon.png from the src/img directory prior to building a signed release apk

```javscript
bubblewrap build
```
--------------------------------