/
blocklet.yml
113 lines (113 loc) · 2.59 KB
/
blocklet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: ocap-playground
title: Wallet Playground
description: >-
A simple playground that shows the potential of OCAP powered blockchain and
DID Wallet V2
files:
- api/libs/hooks/pre-start.js
- screenshots
- logo.png
- blocklet.md
- README.md
- build
version: 0.36.77
author:
name: ArcBlock
email: blocklet@arcblock.io
url: https://github.com/blocklet
keywords:
- dapp
- playground
- wallet
repository:
type: git
url: git+https://github.com/blocklet/ocap-playground.git
license: Apache-2.0
group: dapp
main: api/index.js
logo: logo.png
community: https://community.arcblock.io
documentation: https://developer.blocklet.io
homepage: https://github.com/blocklet/ocap-playground
screenshots:
- 0-home.png
- 1-profile.png
- 2-everything.png
environments:
- name: CHAIN_HOST
description: Please provide endpoint of local chain
required: true
default: https://beta.abtnetwork.io/api/
secure: false
shared: true
- name: LOCAL_TOKEN_ID
description: Please provide local token for the playground
required: true
default: z35n6UoHSi9MED4uaQy6ozFgKPaZj2UKrurBG
secure: false
shared: true
- name: FOREIGN_TOKEN_ID
description: Please provide foreign token for the playground
required: true
default: z35n3WVTnN7KrR4gXn3szR6oneVefkBBx78Fc
secure: false
shared: true
- name: DELEGATOR_APP_SK
description: Please provide delegator app sk
required: false
default: ''
secure: true
shared: false
scripts:
preStart: node api/libs/hooks/pre-start.js
dev: npm run start
specVersion: 1.2.8
interfaces:
- type: web
name: publicUrl
path: /
prefix: '*'
port: BLOCKLET_PORT
protocol: tcp
services:
- name: auth
config:
blockUnauthenticated: true
ignoreUrls:
- /api/did/**
- /api/nft/**
- /blocklet/**
- /instance/**
- /manifest.json
whoCanAccess: all
profileFields:
- fullName
- email
- avatar
allowSwitchProfile: true
blockUnauthorized: false
timeout:
start: 15
requirements:
server: '>=1.16.0'
os: '*'
cpu: '*'
fuels:
- endpoint: '{env.CHAIN_HOST}'
value: '2000'
reason: For Creating Token and NFT Factory
did: z8iZjySpAu4jzbMochL9k1okuji1GcS7RRRDM
payment:
price: []
share: []
capabilities:
clusterMode: false
component: true
navigation: true
components:
- name: promotion-tool
mountPoint: /promotion-tool
source:
store: https://dev.store.blocklet.dev
name: promotion-tool
version: latest