TransactionId = generate Timestamp(datetime) = gen Amount(long) = set TokenTicker(string) = set FromAccountId(string) = set ToAccountId(string) = gen / set
AccountInfo: create
TokenBook: create transactions: VirtualUser -> RealUser
TokenBook: create transactions: RealUser > External
AccountInfo: create
TokenBook: create transaction
TokenBook: create transaction: TokenDropClient >
Same as receive
N/A
Table TokenBook
TransactionId(string)
Timestamp(datetime)
Amount(long)
TokenTicker(string)
FromAccountId(string)
ToAccountId(string)
AccountInfo
Type: TokenDropClient, RealUser, Campaign, VirtualUser, External
Id
VirtualAccountIds
curl --request GET \
--url 'http://0.0.0.0:3000/api/HsyListings' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-ibm-client-id: default' \
--header 'x-ibm-client-secret: SECRET' \
--insecure
- Or visits local instance at http://0.0.0.0:3000/api/HsyListings/f8e40c34-e09a-4c2f-abb2-c5fe685338be
- Through CLI, run
npm start
Generate Angular2 SDK
./node_modules/.bin/lb-sdk server/server \
<client source code> \
-d ng2web -i disabled -v enabled
for example, for airdropper-client
./node_modules/.bin/lb-sdk server/server \
../airdropper-client/client/src/loopbacksdk \
-d ng2web -i disabled -v enabled