Service that connects your dapp with DID and ABT Wallet
npm install did-connectA service that connect your web application to forge-powered blockchain which enables DID-Login and Micro-Payment
- Node.js v10+
- MongoDB 3.4+
- Stable Netlify: did-connect.netlify.com
- Stable Aliyun: connect.wallet.arcblockio.cn
- Nightly Aliyun: connect-dev.arcblockio.cn
- Marketing Pages: didconnect.io
This repo contains following part of the service
- FrontEnd: allow developer to create his/her application and get integration guide
- BackEnd: do did-auth interaction on behalf of the dapp and wallet
- Documentation: configuration and integration instructions, checkout docs/README.md
dApp configuration file is auto generated and stored in .env, example configure as:
``text
SKIP_PREFLIGHT_CHECK=true
NETLIFY=false
> Caution:
.env contains very sensitive info such as Application wallet secret key, PLEASE DO NOT COMMIT .env FILE> Docs folder should have its own configuration.
Getting started
> Note: You have to setup an
.env file manually.`terminal
git clone https://github.com/ArcBlock/did-connect.git
cd did-connect
make init
yarn start
``- Server-side global error catcher
- Set CreatedAt/UpdatedAt by global mongoose hook
Copyright 2018-2019 ArcBlock
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.