Skip to content

Commit c31341a

Browse files
committed
initial commit
0 parents  commit c31341a

File tree

599 files changed

+155422
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

599 files changed

+155422
-0
lines changed

.dockerignore

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
2+
# Created by https://www.gitignore.io/api/node
3+
# Edit at https://www.gitignore.io/?templates=node
4+
5+
### Node ###
6+
# Logs
7+
logs
8+
*.log
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
lerna-debug.log*
13+
14+
# Diagnostic reports (https://nodejs.org/api/report.html)
15+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16+
17+
# Runtime data
18+
pids
19+
*.pid
20+
*.seed
21+
*.pid.lock
22+
23+
# Directory for instrumented libs generated by jscoverage/JSCover
24+
lib-cov
25+
26+
# Coverage directory used by tools like istanbul
27+
coverage
28+
29+
# nyc test coverage
30+
.nyc_output
31+
32+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33+
.grunt
34+
35+
# Bower dependency directory (https://bower.io/)
36+
bower_components
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
node_modules/
46+
jspm_packages/
47+
48+
# TypeScript v1 declaration files
49+
typings/
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
.env
68+
.env.test
69+
70+
# parcel-bundler cache (https://parceljs.org/)
71+
.cache
72+
73+
# next.js build output
74+
.next
75+
76+
# nuxt.js build output
77+
.nuxt
78+
79+
# vuepress build output
80+
.vuepress/dist
81+
82+
# Serverless directories
83+
.serverless/
84+
85+
# FuseBox cache
86+
.fusebox/
87+
88+
# DynamoDB Local files
89+
.dynamodb/
90+
91+
# End of https://www.gitignore.io/api/node
92+
93+
artifacts/

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.sol linguist-language=Solidity

.github/ISSUE_TEMPLATE/bug_report.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: 'Bug report'
3+
about: 'Found a bug? No problemo!'
4+
labels: ':bug: bug'
5+
---
6+
## Expected Behavior
7+
8+
9+
## Actual Behavior
10+
11+
12+
## Steps to Reproduce the Problem
13+
14+
1.
15+
1.
16+
1.
17+
18+
## Specifications
19+
20+
- Version:
21+
- Platform:
22+
- Subsystem:
23+
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: 'Feature Request'
3+
about: 'Propose a new feature or user story'
4+
labels: feature
5+
---
6+
## Overview
7+
8+
English description of the feature in a sentence or two, usually in the form of a user story.
9+
10+
### Reference
11+
12+
- [Reference](links)
13+
- [To issues](or-any-inspiration)
14+
- [That might be](helpful)
15+
16+
### Questions
17+
18+
- List any questions?
19+
- That you are unsure of the answer?
20+
21+
### Assumptions
22+
23+
- List any assumptions that
24+
- You are making in terms of timeframe,
25+
- Output, or general context setting
26+
27+
### Acceptance
28+
29+
- List of what needs to be true
30+
- to consider this done
31+
- done done
32+
33+
## Tasks
34+
35+
- [ ] A list of tasks that need
36+
- [ ] to be done to call this issue done
37+

.gitignore

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
2+
# Created by https://www.gitignore.io/api/node
3+
# Edit at https://www.gitignore.io/?templates=node
4+
5+
### Node ###
6+
# Logs
7+
logs
8+
*.log
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
lerna-debug.log*
13+
14+
# .DS_Store in all directories
15+
**/.DS_Store
16+
17+
# Diagnostic reports (https://nodejs.org/api/report.html)
18+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
32+
# nyc test coverage
33+
.nyc_output
34+
35+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
36+
.grunt
37+
38+
# Bower dependency directory (https://bower.io/)
39+
bower_components
40+
41+
# node-waf configuration
42+
.lock-wscript
43+
44+
# Compiled binary addons (https://nodejs.org/api/addons.html)
45+
build/Release
46+
47+
# Dependency directories
48+
node_modules/
49+
jspm_packages/
50+
51+
# TypeScript v1 declaration files
52+
typings/
53+
54+
# Optional npm cache directory
55+
.npm
56+
57+
# Optional eslint cache
58+
.eslintcache
59+
60+
# Optional REPL history
61+
.node_repl_history
62+
63+
# Output of 'npm pack'
64+
*.tgz
65+
66+
# Yarn Integrity file
67+
.yarn-integrity
68+
69+
# dotenv environment variables file
70+
.env
71+
.env.test
72+
73+
# parcel-bundler cache (https://parceljs.org/)
74+
.cache
75+
76+
# next.js build output
77+
.next
78+
79+
# nuxt.js build output
80+
.nuxt
81+
82+
# vuepress build output
83+
.vuepress/dist
84+
85+
# Serverless directories
86+
.serverless/
87+
88+
# FuseBox cache
89+
.fusebox/
90+
91+
# DynamoDB Local files
92+
.dynamodb/
93+
94+
# End of https://www.gitignore.io/api/node
95+
96+
artifacts/
97+
build
98+
dist
99+
*config*/config-*.json
100+
*config*/merkle-tree/
101+
102+
# Ignore generated docs
103+
docs/generated

.jsdoc-conf.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"plugins": [
3+
"plugins/markdown",
4+
"plugins/summarize"
5+
],
6+
"source": {
7+
"exclude": [ "__tests__", "test" ]
8+
}
9+
}

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry=http://registry.npmjs.org/
2+
access=public

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10.15

.solhint.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "solhint:recommended",
3+
"rules": {
4+
"indent": ["error", 4],
5+
"func-order": "off",
6+
"bracket-align": "off",
7+
"compiler-fixed": "off",
8+
"no-simple-event-func-name": "off",
9+
"separate-by-one-line-in-contract": "off",
10+
"two-lines-top-level-separator": "off",
11+
"mark-callable-contracts": "off",
12+
"compiler-version": ["error", "^0.5.0"]
13+
}
14+
}

Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM node:11.15
2+
3+
RUN mkdir /app
4+
WORKDIR /app
5+
6+
COPY ./package.json ./package-lock.json ./
7+
8+
RUN git config --global url."https://".insteadOf git://
9+
10+
RUN npm ci
11+
12+
ENTRYPOINT ["npm", "run"]

README.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Welcome to Baseline
2+
3+
<div align="center">
4+
<img src="docs/assets/baseline-logo/Web/examples/PNGs/horizontal/baselineHorizontal-Logo-FullColor.png" />
5+
<p>
6+
Combining advances in cryptography, messaging, and blockchain to execute
7+
<br/>
8+
secure and private business processes via the public Ethereum Mainnet.
9+
</p>
10+
Read the full documentation <a href="https://radish.gitbook.io/docs/-LuE-E657uooMibsj9_Y/">here</a>.
11+
<p>
12+
<em>Join our <a href="https://communityinviter.com/apps/ethereum-baseline/join-us">Slack workspace</a> for Baseline news and updates!</em>
13+
</p>
14+
<br/>
15+
</div>
16+
17+
__Baseline__ is an open source initiative with a large and growing team of supporting companies. The first code was donated by Ernst & Young and ConsenSys, with support from Microsoft, and is now receiving contributions from many other companies. The purpose of the project is to bring enterprises and complex business processes to the Ethereum Mainnet, while guarding the privacy constraints and needs of a typical group of enterprises.
18+
19+
The __Baseline Protocol__ defines a series of steps to follow to privately and securely synchronize data inside two independent databases, using the Ethereum Mainnet as an auditable common frame of reference. This protocol implements best practices around data consistency and compartmentalization, and leverages public Ethereum for verifying execution of private transactions, contracts and tokens on the mainnet using ZKP (zkSnarks). The __Baseline Protocol__ is designed such that it can be extended and applied to any database/workflow.
20+
21+
# Radish34
22+
23+
In order to demonstrate the __Baseline Protocol__, we needed a use-case. The use-case chosen was product procurement within a supply-chain, and the custom application built for this workflow is called __Radish34__.
24+
25+
The __Baseline Protocol__ code is currently embedded inside the `/radish-api` directory, but we are in the process of moving that code into the `/baseline` directory to clearly distinguish the protocol from the use-case. Once this move is complete, `radish-api` will import `baseline` as a module, which will be the same process that other projects will need to follow to implement __Baseline__.
26+
27+
To run the __Radish34__ application, follow the instructions in `/radish34/README.md`.
28+
29+
# How to contribute?
30+
31+
__Baseline__ is an open-source project that is actively seeking contributions from any willing participants. Here are some guidelines for people that would like to contribute to the project.
32+
33+
## Submitting an issue
34+
35+
To help us get a better understanding of the issue you've identified, follow the guidelines in one of our *Issue Templates*.
36+
37+
## Submitting a pull request
38+
39+
Follow these steps when submitting a pull request:
40+
41+
1. Fork this repo into your GitHub account. Read more about forking a repo on Github [here](https://help.github.com/articles/fork-a-repo/).
42+
1. Create a new branch, based on the `master` branch, with a name that concisely describes what you’re working on (ex. `add-mysql`).
43+
1. Ensure that your changes do not cause any existing tests to fail.
44+
1. Submit a pull request against the `master` branch.
45+
46+
# License
47+
48+
All code in this repo is released under the CC0 1.0 Universal public domain dedication. For the full license text, refer to `license.md`.

0 commit comments

Comments
 (0)