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

Commit

Permalink
Merge pull request #16 from WalletConnect/v1.0.0-beta
Browse files Browse the repository at this point in the history
v1.0.0-beta
  • Loading branch information
pedrouid authored Jan 29, 2019
2 parents 7b9b950 + b101b67 commit 2c17633
Show file tree
Hide file tree
Showing 26 changed files with 3,900 additions and 5,809 deletions.
11 changes: 9 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"presets": ["@babel/env"],
"plugins": ["@babel/plugin-transform-runtime"]
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage"
}
],
"@babel/typescript"
]
}
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "standard"
}
7 changes: 0 additions & 7 deletions .eslintrc.js

This file was deleted.

53 changes: 40 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,46 @@
# dependencies
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Dependency directories
node_modules
jspm_packages

# logs
npm-debug.log
# Optional npm cache directory
.npm

# Backpack build
build
# Optional eslint cache
.eslintcache

# config files
*.env
# Optional REPL history
.node_repl_history

.DS_Store
*.log
logs
pids
# Output of 'npm pack'
*.tgz

dist
build

# redis
dump.rdb
.DS_Store
51 changes: 25 additions & 26 deletions LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2018 WalletConnect Association.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.
0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
Expand All @@ -25,7 +24,7 @@ Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

Expand All @@ -39,12 +38,12 @@ object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.
1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.
2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
Expand All @@ -60,10 +59,10 @@ whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.
3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
Expand All @@ -76,7 +75,7 @@ covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.
4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
Expand All @@ -98,20 +97,20 @@ copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
Expand All @@ -125,7 +124,7 @@ Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.
5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
Expand All @@ -141,7 +140,7 @@ b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.
6. Revised Versions of the GNU Lesser General Public License.

The WalletConnect Association may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
Expand Down
28 changes: 12 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
# WalletConnect bridge
# WalletConnect Bridge Server

Bridge server for [walletconnect](https://walletconnect.org) standard.

### Setup
## Develop

```bash
$ git clone [email protected]:walletconnect/node-walletconnect-bridge.git
$ cd walletconnect-bridge
$ npm install
yarn dev
```

# start redis
$ redis-server
## Test

```bash
yarn test
```

### Development
## Build

```bash
# create config.env and change it
$ npm run dev
yarn build
```

### Production
## Run

```bash
# create config-production.env and change it
$ npm run build
$ npm start
yarn start
```
3 changes: 3 additions & 0 deletions babel-polyfill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require('@babel/register')({
extensions: ['.ts', '.js', '.tsx', '.jsx']
})
Loading

0 comments on commit 2c17633

Please sign in to comment.