Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Release/element-lib-0.1.2 #88

Merged
merged 21 commits into from
Sep 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,23 @@ This is a lerna mono repo, see [packages](./packages) for all modules.

See also [ion](https://github.com/decentralized-identity/ion), [sidetree](https://github.com/decentralized-identity/sidetree), [sidetree-ethereum](https://github.com/decentralized-identity/sidetree-ethereum).

- [Web App](https://element-did.com)
- [API Docs](https://element-did.com/api/docs)
- [React Storybook](https://storybook.element-did.com)

- [Current Anchor Contract](https://ropsten.etherscan.io/address/0xD49Da2b7C0A15f6ac5A856f026D68A9B9848D96f)

## Getting Started

#### If you're using EC2

We recommend using

- Ubuntu Server 18.04 LTS
- a t2.small instance or equivalent (1 vCPU, 2GB of RAM and 8 GB of Disk)

To setup, run the following commands:

```
# Update packaging tool
sudo apt update
Expand Down Expand Up @@ -116,7 +124,8 @@ Visit [https://ropsten.etherscan.io/](https://ropsten.etherscan.io/) to check th
### 3. Switch production keys

In the `packages/element-api` folder run

```
firebase functions:config:set element.ethereum.mnemonic='THE NEW MNEMONIC'
npm run deploy
```
```
3 changes: 2 additions & 1 deletion example.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ ELEMENT_CONTRACT_ADDRESS="0xeaf43D28235275afDB504aBF49863e778a4Cfea0"
ELEMENT_MAX_BATCH_SIZE="10"
ELEMENT_BATCH_INTERVAL_SECONDS="2"
ELEMENT_BAD_STORAGE_HASH_DELAY_SECONDS="5"
ELEMENT_VERBOSITY="1"
ELEMENT_VERBOSITY="1"
ELEMENT_COUCHDB_REMOTE="SECRET"
18 changes: 13 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"packages": [
"packages/*"
],
"version": "0.0.2-2",
"lerna": "2.11.0"
"version": "0.0.4",
"packages": ["packages/*"],
"command": {
"publish": {
"conventionalCommits": true,
"ignoreChanges": ["ignored-file", "*.md"],
"message": "chore(release): publish"
},
"bootstrap": {
"ignore": "component-*",
"npmClientArgs": ["--no-package-lock"]
}
}
}
Loading