Skip to content

Commit f51e55c

Browse files
authored
Created initial library structure and connections with mediation usage (#3)
* feat: added basicMessage protocol handler and some docs changes Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feat: initial ui structure Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: initial agent library setup Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: working ama-rn configuration Signed-off-by: James Ebert <jamesebert.k@gmail.com> docs: updated install via version install Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: finished project architecture Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: typescript config Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: initial builder pattern Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: added validation structure Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: finished verification, began inline documentation Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: created agent directory Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: separated builder from agent Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: wallet interface creation Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: defined initial wallet service structure, added license Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: initial storage structure Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: builder pattern format Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: architecture restructure Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: altering wallet service Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: wallet creation functionality Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: completed agent startup Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: protocol initial structure Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: protocol dependencies architecture Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: additional connections protocol work Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: dependency restructure Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: additional dependency work Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: finished simplifying dependencies Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: inbound handling logic Signed-off-by: James Ebert <jamesebert.k@gmail.com> feat: completed mediation coordination and added some documentation Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: ran prettier formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: wording fixes and cleanup Signed-off-by: James Ebert <jamesebert.k@gmail.com>
1 parent dc17dc5 commit f51e55c

Some content is hidden

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

71 files changed

+13661
-2
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pbxproj -text

.gitignore

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
.env.test
74+
75+
# parcel-bundler cache (https://parceljs.org/)
76+
.cache
77+
78+
# Next.js build output
79+
.next
80+
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
84+
85+
# Gatsby files
86+
.cache/
87+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88+
# https://nextjs.org/blog/next-9-1#public-directory-support
89+
# public
90+
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
102+
103+
# TernJS port file
104+
.tern-port
105+
106+
# macOS
107+
.DS_Store
108+
109+
# Xcode
110+
build/
111+
*.pbxuser
112+
!default.pbxuser
113+
*.mode1v3
114+
!default.mode1v3
115+
*.mode2v3
116+
!default.mode2v3
117+
*.perspectivev3
118+
!default.perspectivev3
119+
xcuserdata
120+
*.xccheckout
121+
*.moved-aside
122+
DerivedData
123+
*.hmap
124+
*.ipa
125+
*.xcuserstate
126+
127+
# Android/IntelliJ
128+
#
129+
build/
130+
.idea
131+
.gradle
132+
local.properties
133+
*.iml
134+
*.hprof
135+
136+
# BUCK
137+
buck-out/
138+
\.buckd/
139+
*.keystore
140+
!debug.keystore
141+
!release.keystore
142+
143+
# fastlane
144+
#
145+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
146+
# screenshots whenever they are needed.
147+
# For more information about the recommended setup visit:
148+
# https://docs.fastlane.tools/best-practices/source-control/
149+
*/fastlane/report.xml
150+
*/fastlane/Preview.html
151+
*/fastlane/screenshots
152+
153+
# Bundle artifact
154+
*.jsbundle
155+
156+
# CocoaPods
157+
/ios/Pods/

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
bracketSpacing: false,
3+
jsxBracketSameLine: true,
4+
singleQuote: true,
5+
semi: false,
6+
trailingComma: 'all',
7+
}

CODE_OF_CONDUCT.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at ken@indicio.tech. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the code of conduct for the [Hyperledger
71+
Aries Cloud Agent -
72+
Python](https://github.com/hyperledger/aries-cloudagent-python) project, which
73+
in turn is adapted from the [Contributor Covenant][homepage], version 1.4,
74+
available at [http://contributor-covenant.org/version/1/4][version]
75+
76+
[homepage]: http://contributor-covenant.org
77+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Contributor's Guide TODO:
2+
3+
Thanks for your interest in the project! We welcome pull requests from
4+
developers of all skill levels.
5+
6+
If you would like to contribute but don't already have something in mind,
7+
we invite you to take a look at our roadmap list. If you see one you'd like
8+
to work on, please leave a quick comment so that we don't end up with
9+
duplicated effort. Thanks in advance!
10+
11+
Please note that all contributors and maintainers of this project are subject to our [Code of Conduct][coc].
12+
13+
### Pull Requests
14+
15+
Before submitting a pull request, please ensure you have added or updated tests as appropriate, and that all existing tests still pass with your changes. Please also ensure that your coding style is consistent with existing code in the project. A checklist is included in the PR template as a friendly reminder.
16+
17+
### Commit Messages
18+
19+
We require all contributors to agree to the [DCO](https://developercertificate.org/). Every commit must contain a DCO `Signed-off-by` line. To automatically add this line, simply include the `-s` flag when executing `git commit`.
20+
21+
### Test coverage
22+
23+
Pull requests must maintain 100% test coverage of all code branches. This helps ensure the quality of the project. To check coverage before submitting a pull request:
24+
25+
### Coding Style
26+
27+
One of the easiest ways to ensure your contributions adhere to the project's coding style is to use [Prettier](https://prettier.io/) (included as a dev dependency).
28+
29+
To have Prettier monitor your files and make changes as you do, open a terminal window to the project folder and type `npm run style-watch`.<br />
30+
To check your files, you can type `npm run style-check"`<br />
31+
To have Prettier format all your files, type `npm run style-format`<br />
32+
33+
More Prettier CLI options can be found here: [https://prettier.io/docs/en/cli.html](https://prettier.io/docs/en/cli.html)
34+
35+
36+
37+
[coc]: ./CODE_OF_CONDUCT.md

0 commit comments

Comments
 (0)