@arcblock/blocklet-registry
Version:
**Blocklets** are reusable building blocks to help developers and community users to build things on [ArcBlock](https://www.arcblock.io) platform. A blocklet serves one and only one purpose, reusability is the core design philosophy of blocklets. Reusabil
43 lines (29 loc) • 943 B
Markdown
# Blockchain Boarding Gate
> A simple blocklet that helps you to onboarding users to your forge-powered blockchain.
## Features
- Create wallet card for from an blockchain endpoint
- Get test token into that wallet card
## Getting started
### Configuration
Put following contents in your local `.env`:
```ini
SKIP_PREFLIGHT_CHECK=true
# server side
BLOCKLET_PORT="3030"
BLOCKLET_APP_SK="0x7ebe8ba807cb217c57563aeb96b5c4c755af29a4bb935d77b1af549edaddf3a09bff6e162bd8a2fbfb6284921ecc243c209339f2e14f5eb64c5f7e5dccdc6700"
BLOCKLET_APP_ID="zNKn6o1t7CPMWU4wrbNnLuzKvoPWMVyhVgaf"
BLOCKLET_DATA_DIR="/tmp/abtnode/blockchain-boarding-gate"
REACT_APP_BASE_URL="http://192.168.1.2:3030"
REACT_APP_APP_NAME="Blockchain Boarding Gate"
REACT_APP_API_PREFIX=""
```
### Start hacking
```shell
mkdir -p /tmp/abtnode/blockchain-boarding-gate
npm run start:server
npm run start:client
```
### Deploy to local ABT Node
```shell
abtnode deploy .
```