@electrum-cash/servers 3.0.1-development.5308732452

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -0
  3. package/package.json +59 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 GeneralProtocols
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # What is this?
2
+
3
+ This repository houses a list of electrum servers operating on the Bitcoin Cash (BCH) network. The list can be used by anyone, but is intended to provide a default set of servers for the `@electrum-cash/library` package.
4
+
5
+ # How can I contribute?
6
+
7
+ If you want to help maintain this list you can do so by submitting issues or pull requests.
8
+
9
+ ## Remove stale servers
10
+
11
+ To remove a server that is no longer available or is no longer running on the Bitcoin Cash (BCH) network, submit an issue according explaining why the server should no longer be used.
12
+
13
+ ## Add new servers
14
+
15
+ To add a new server to the list, make sure it is publicly accessible and operates on the Bitcoin Cash (BCH) network, then submit an issue and explain why it should be added and what port numbers it uses for the connection methods it supports.
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@electrum-cash/servers",
3
+ "version": "3.0.1-development.5308732452",
4
+ "description": "a list of default servers to use with the @electrum-cash/library package.",
5
+ "homepage": "https://gitlab.com/electrum-cash/servers#readme",
6
+ "bugs": {
7
+ "url": "https://gitlab.com/electrum-cash/servers/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://gitlab.com/electrum-cash/servers.git"
12
+ },
13
+ "author": "Jonathan Silverblood",
14
+ "license": "MIT",
15
+ "keywords": [
16
+ "electrum",
17
+ "bitcoin",
18
+ "javascript",
19
+ "typescript"
20
+ ],
21
+ "source": "lib/index.ts",
22
+ "type": "module",
23
+ "main": "dist/index.cjs",
24
+ "module": "dist/index.mjs",
25
+ "exports": {
26
+ "require": "./dist/index.cjs",
27
+ "import": "./dist/index.mjs",
28
+ "browser": "./dist/browser.mjs"
29
+ },
30
+ "types": "dist/index.d.ts",
31
+ "files": [
32
+ "dist"
33
+ ],
34
+ "scripts": {
35
+ "clean": "del ./dist",
36
+ "build": "npm run clean && parcel build",
37
+ "analyze": "parcel build --reporter @parcel/reporter-bundle-analyzer",
38
+ "docs": "jsdoc -c jsdoc.json",
39
+ "lint": "eslint . --ext .ts",
40
+ "syntax": "tsc --noEmit",
41
+ "spellcheck": "cspell 'lib/**' 'test/**' 'examples/**'",
42
+ "test": "vitest --dir test/ --test-timeout=15000 --run --coverage"
43
+ },
44
+ "devDependencies": {
45
+ "@electrum-cash/library": "^3.2.0",
46
+ "@generalprotocols/cspell-dictionary": "git+https://gitlab.com/GeneralProtocols/cspell-dictionary.git",
47
+ "@generalprotocols/eslint-config": "gitlab:GeneralProtocols/eslint-config",
48
+ "@parcel/packager-ts": "^2.9.3",
49
+ "@parcel/transformer-typescript-types": "^2.9.3",
50
+ "@vitest/coverage-v8": "^0.34.6",
51
+ "cspell": "^7.3.8",
52
+ "del-cli": "^5.0.0",
53
+ "eslint": "^8.21.0",
54
+ "eslint-plugin-import": "^2.22.0",
55
+ "parcel": "^2.10.0",
56
+ "typescript": "^5.2.2",
57
+ "vitest": "^0.34.6"
58
+ }
59
+ }