This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 02d5ea5
Showing
18 changed files
with
6,432 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
version: 2 | ||
jobs: | ||
node-10: | ||
docker: | ||
- image: circleci/node:10 | ||
working_directory: ~/crypto-json-rpc | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "yarn.lock" }} | ||
- v1-dependencies- | ||
- run: yarn install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "yarn.lock" }} | ||
- run: yarn test | ||
- run: ./node_modules/.bin/codecov | ||
node-11: | ||
docker: | ||
- image: circleci/node:11 | ||
working_directory: ~/crypto-json-rpc | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "yarn.lock" }} | ||
- v1-dependencies- | ||
- run: yarn install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "yarn.lock" }} | ||
- run: yarn test | ||
- run: ./node_modules/.bin/codecov | ||
# node-12: | ||
# docker: | ||
# - image: circleci/node:12 | ||
# working_directory: ~/crypto-json-rpc | ||
# steps: | ||
# - checkout | ||
# - restore_cache: | ||
# keys: | ||
# - v1-dependencies-{{ checksum "yarn.lock" }} | ||
# - v1-dependencies- | ||
# - run: yarn install | ||
# - save_cache: | ||
# paths: | ||
# - node_modules | ||
# key: v1-dependencies-{{ checksum "yarn.lock" }} | ||
# - run: yarn test | ||
# - run: ./node_modules/.bin/codecov | ||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- node-10 | ||
- node-11 | ||
# - node-12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = tab | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
yarn-error.log | ||
dist | ||
.coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.coverage | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"tabWidth": 4, | ||
"trailingComma": "all", | ||
"useTabs": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## 0.1.0 - 2019-05-16 | ||
|
||
- Initial Release | ||
|
||
[unreleased]: https://github.com/ARKEcosystem/core/compare/master...develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) ARK Ecosystem <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# @arkecosystem/crypto-json-rpc | ||
|
||
> A JSON-RPC 2.0 specification compliant server to interact with ARK Cryptography. | ||
[![Latest Version](https://badgen.now.sh/npm/v/@arkecosystem/crypto-json-rpc)](https://www.npmjs.com/package/@arkecosystem/crypto-json-rpc) | ||
[![Node Engine](https://badgen.now.sh/npm/node/@arkecosystem/crypto-json-rpc)](https://www.npmjs.com/package/@arkecosystem/crypto-json-rpc) | ||
[![Build Status](https://badgen.now.sh/circleci/github/ArkEcosystem/crypto-json-rpc)](https://circleci.com/gh/ArkEcosystem/crypto-json-rpc) | ||
[![Codecov](https://badgen.now.sh/codecov/c/github/ArkEcosystem/crypto-json-rpc)](https://codecov.io/gh/ArkEcosystem/crypto-json-rpc) | ||
[![License: MIT](https://badgen.now.sh/badge/license/MIT/green)](https://opensource.org/licenses/MIT) | ||
|
||
## Disclaimer | ||
|
||
The purpose of this application is to serve as a server for SDKs to ensure compliance with `@arkecosystem/crypto`, this means there can be many breaking changes without any notice. | ||
|
||
**We strongly advise against using this for anything but SDK compliance testing and no support is offered if you do so.** | ||
|
||
## Installation | ||
|
||
```bash | ||
yarn add @arkecosystem/crypto-json-rpc | ||
``` | ||
|
||
## Testing | ||
|
||
```bash | ||
yarn test | ||
``` | ||
|
||
## Security | ||
|
||
If you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed. | ||
|
||
## Credits | ||
|
||
This project exists thanks to all the people who [contribute](../../contributors). | ||
|
||
## License | ||
|
||
[MIT](LICENSE) © [ARK Ecosystem](https://ark.io) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"mainnet": { | ||
"passphrase": "this is a top secret passphrase", | ||
"publicKey": "034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192", | ||
"privateKey": "d8839c2432bfd0a67ef10a804ba991eabba19f154a3d707917681d45822a5712", | ||
"address": "AGeYmgbg2LgGxRW2vNNJvQ88PknEJsYizC", | ||
"wif": "SGq4xLgZKCGxs7bjmwnBrWcT4C1ADFEermj846KC97FSv1WFD1dA", | ||
"multiSignature": { | ||
"address": "AH3Ca9QE9u9jKKTdUaLjAQqcqK4ZmSkVqp", | ||
"publicKey": "022952bc0ab373a15153b8b6cee2513e298eb7f3ffe6bc50fc850fd24e8ab6c66a", | ||
"asset": { | ||
"min": 3, | ||
"publicKeys": [ | ||
"0205d9bbe71c343ac9a6a83a4344fd404c3534fc7349827097d0835d160bc2b896", | ||
"03df0a1eb42d99b5de395cead145ba1ec2ea837be308c7ce3a4e8018b7efc7fdb8", | ||
"03860d76b1df09659ac282cea3da5bd84fc45729f348a4a8e5f802186be72dc17f" | ||
] | ||
} | ||
} | ||
}, | ||
"devnet": { | ||
"passphrase": "this is a top secret passphrase", | ||
"publicKey": "034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192", | ||
"privateKey": "d8839c2432bfd0a67ef10a804ba991eabba19f154a3d707917681d45822a5712", | ||
"address": "D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib", | ||
"wif": "SGq4xLgZKCGxs7bjmwnBrWcT4C1ADFEermj846KC97FSv1WFD1dA", | ||
"multiSignature": { | ||
"address": "D6QRTuVF8APs3MSEeWfxZHk8EqsAmpkFHW", | ||
"publicKey": "022952bc0ab373a15153b8b6cee2513e298eb7f3ffe6bc50fc850fd24e8ab6c66a", | ||
"asset": { | ||
"min": 3, | ||
"publicKeys": [ | ||
"0205d9bbe71c343ac9a6a83a4344fd404c3534fc7349827097d0835d160bc2b896", | ||
"03df0a1eb42d99b5de395cead145ba1ec2ea837be308c7ce3a4e8018b7efc7fdb8", | ||
"03860d76b1df09659ac282cea3da5bd84fc45729f348a4a8e5f802186be72dc17f" | ||
] | ||
} | ||
} | ||
}, | ||
"testnet": { | ||
"passphrase": "this is a top secret passphrase", | ||
"publicKey": "034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192", | ||
"privateKey": "d8839c2432bfd0a67ef10a804ba991eabba19f154a3d707917681d45822a5712", | ||
"address": "AGeYmgbg2LgGxRW2vNNJvQ88PknEJsYizC", | ||
"wif": "Ue7A6vSx7ewATPp2dA6UbJ8F39DbZwaHTqhD1MrhzmJqRJmvfZ6C", | ||
"multiSignature": { | ||
"address": "AH3Ca9QE9u9jKKTdUaLjAQqcqK4ZmSkVqp", | ||
"publicKey": "022952bc0ab373a15153b8b6cee2513e298eb7f3ffe6bc50fc850fd24e8ab6c66a", | ||
"asset": { | ||
"min": 3, | ||
"publicKeys": [ | ||
"0205d9bbe71c343ac9a6a83a4344fd404c3534fc7349827097d0835d160bc2b896", | ||
"03df0a1eb42d99b5de395cead145ba1ec2ea837be308c7ce3a4e8018b7efc7fdb8", | ||
"03860d76b1df09659ac282cea3da5bd84fc45729f348a4a8e5f802186be72dc17f" | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.