Rename p2p-org to drpcorg (#484)
This commit is contained in:
@@ -6,8 +6,8 @@ endif::[]
|
|||||||
:version: 0.12.0
|
:version: 0.12.0
|
||||||
:version-short: 0.12
|
:version-short: 0.12
|
||||||
|
|
||||||
image:https://github.com/p2p-org/dshackle/workflows/Tests/badge.svg["Unit Tests"]
|
image:https://github.com/drpcorg/dshackle/workflows/Tests/badge.svg["Unit Tests"]
|
||||||
image:https://img.shields.io/github/license/p2p-org/dshackle.svg?style=flat-square&maxAge=2592000["License",link="https://github.com/emeraldpay/dshackle/blob/master/LICENSE"]
|
image:https://img.shields.io/github/license/drpcorg/dshackle.svg?style=flat-square&maxAge=2592000["License",link="https://github.com/emeraldpay/dshackle/blob/master/LICENSE"]
|
||||||
|
|
||||||
[.lead]
|
[.lead]
|
||||||
_Dshackle is a Fault Tolerant Load Balancer for Blockchain API used at https://drpc.org/[DRPC]_
|
_Dshackle is a Fault Tolerant Load Balancer for Blockchain API used at https://drpc.org/[DRPC]_
|
||||||
@@ -35,7 +35,7 @@ Provides:
|
|||||||
- Separate public blockchain nodes from your internal servers
|
- Separate public blockchain nodes from your internal servers
|
||||||
|
|
||||||
=== Supported chains
|
=== Supported chains
|
||||||
List of supported chains https://p2p-org.github.io/dshackle/networks.html[here]. Feel free to contribute new chains.
|
List of supported chains https://drpcorg.github.io/dshackle/networks.html[here]. Feel free to contribute new chains.
|
||||||
|
|
||||||
=== Architecture
|
=== Architecture
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ link:docs[See full documentations].
|
|||||||
|
|
||||||
==== Run docker image
|
==== Run docker image
|
||||||
|
|
||||||
Official Docker image you can find at: https://hub.docker.com/r/p2p-org/dshackle[p2p-org/dshackle]
|
Official Docker image you can find at: https://hub.docker.com/r/drpcorg/dshackle[drpcorg/dshackle]
|
||||||
|
|
||||||
.Setup DRPC key
|
.Setup DRPC key
|
||||||
[source,bash]
|
[source,bash]
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
2. Go to `Dashboards` -> `Import`
|
2. Go to `Dashboards` -> `Import`
|
||||||
3. Use the `Import via panel json` option
|
3. Use the `Import via panel json` option
|
||||||
|
|
||||||
Additional monitoring docs are available in the [dshackle repo](https://github.com/p2p-org/dshackle/blob/master/docs/06-monitoring.adoc).
|
Additional monitoring docs are available in the [dshackle repo](https://github.com/drpcorg/dshackle/blob/master/docs/06-monitoring.adoc).
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ See detailed xref:reference-configuration.adoc[Configuration Reference]
|
|||||||
|
|
||||||
==== Run as docker
|
==== Run as docker
|
||||||
|
|
||||||
Official Docker image you can find at: https://hub.docker.com/r/p2p-org/dshackle[p2p-org/dshackle]
|
Official Docker image you can find at: https://hub.docker.com/r/drpcorg/dshackle[drpcorg/dshackle]
|
||||||
|
|
||||||
.Setup DRPC key
|
.Setup DRPC key
|
||||||
[source,bash]
|
[source,bash]
|
||||||
@@ -93,7 +93,7 @@ export DRPC_KEY=...
|
|||||||
.Run Dshackle
|
.Run Dshackle
|
||||||
[source,bash,subs="attributes"]
|
[source,bash,subs="attributes"]
|
||||||
----
|
----
|
||||||
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "DRPC_KEY=$DRPC_KEY" p2p-org/dshackle:{version-short}
|
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "DRPC_KEY=$DRPC_KEY" drpcorg/dshackle:{version-short}
|
||||||
----
|
----
|
||||||
|
|
||||||
==== Access using JSON RPC
|
==== Access using JSON RPC
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ In the example above we have:
|
|||||||
*It's kindly recommended* to strictly associate _node-id_ parameter with a physical node and keep it during any configuration changes
|
*It's kindly recommended* to strictly associate _node-id_ parameter with a physical node and keep it during any configuration changes
|
||||||
|
|
||||||
=== Supported chains
|
=== Supported chains
|
||||||
List of supported chains could be found https://p2p-org.github.io/dshackle/networks.html[here]
|
List of supported chains could be found https://drpcorg.github.io/dshackle/networks.html[here]
|
||||||
|
|
||||||
=== Roles and Fallback upstream
|
=== Roles and Fallback upstream
|
||||||
|
|
||||||
@@ -255,9 +255,9 @@ If a client requests to execute method `trace_transaction` then it will be sched
|
|||||||
|
|
||||||
There are also method groups to more easily manage methods in batches, currently there are several groups:
|
There are also method groups to more easily manage methods in batches, currently there are several groups:
|
||||||
|
|
||||||
- https://github.com/p2p-org/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L53[trace]
|
- https://github.com/drpcorg/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L53[trace]
|
||||||
- https://github.com/p2p-org/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L65[debug]
|
- https://github.com/drpcorg/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L65[debug]
|
||||||
- https://github.com/p2p-org/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L41[filter]
|
- https://github.com/drpcorg/dshackle/blob/master/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt#L41[filter]
|
||||||
- default, all methods that are enabled by default
|
- default, all methods that are enabled by default
|
||||||
[source, yaml]
|
[source, yaml]
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -8,13 +8,13 @@ Prepare configuration files `dshackle.yaml` and `upstreams.yaml` in the current
|
|||||||
|
|
||||||
[source,bash,subs="attributes"]
|
[source,bash,subs="attributes"]
|
||||||
----
|
----
|
||||||
docker run -p 2449:2449 -v $(pwd):/config -w /config p2p-org/dshackle:{version-short}
|
docker run -p 2449:2449 -v $(pwd):/config -w /config drpcorg/dshackle:{version-short}
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Install & Run manually
|
=== Install & Run manually
|
||||||
|
|
||||||
1. Download latest release from https://github.com/p2p-org/dshackle/releases
|
1. Download latest release from https://github.com/drpcorg/dshackle/releases
|
||||||
2. Unpack `unzip dshackle-0.6.0.zip`
|
2. Unpack `unzip dshackle-0.6.0.zip`
|
||||||
3. Copy to `/opt/dshackle`
|
3. Copy to `/opt/dshackle`
|
||||||
4. Setup configuration in `/etc/dshackle`
|
4. Setup configuration in `/etc/dshackle`
|
||||||
5. Run as `cp /etc/dshackle && /opt/dshackle/bin/dshackle`
|
5. Run as `cp /etc/dshackle && /opt/dshackle/bin/dshackle`
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ NOTE: It's not necessary to use gRPC, as Dshackle can provide standard JSON RPC
|
|||||||
|
|
||||||
=== gRPC definition
|
=== gRPC definition
|
||||||
|
|
||||||
The source code for the Protobuf definitions could be found in https://github.com/p2p-org/emerald-grpc/tree/master/proto[/proto].
|
The source code for the Protobuf definitions could be found in https://github.com/drpcorg/emerald-grpc/tree/master/proto[/proto].
|
||||||
|
|
||||||
.Service API
|
.Service API
|
||||||
[source,proto]
|
[source,proto]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
== Links
|
== Links
|
||||||
|
|
||||||
- Github: https://github.com/p2p-org/dshackle
|
- Github: https://github.com/drpcorg/dshackle
|
||||||
|
|
||||||
== Chat
|
== Chat
|
||||||
|
|
||||||
@@ -9,4 +9,4 @@ Join our https://drpc.org/discord[Discord]
|
|||||||
== Support
|
== Support
|
||||||
|
|
||||||
Want to support the project, prioritize a specific feature, or get commercial help with using Dshackle in your project?
|
Want to support the project, prioritize a specific feature, or get commercial help with using Dshackle in your project?
|
||||||
Please contact splix@emeraldpay.io to discuss the possibility
|
Please contact splix@emeraldpay.io to discuss the possibility
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ Main goals:
|
|||||||
|
|
||||||
== List of supported chains
|
== List of supported chains
|
||||||
|
|
||||||
Can be found here: https://p2p-org.github.io/dshackle/networks.html
|
Can be found here: https://drpcorg.github.io/dshackle/networks.html
|
||||||
|
|
||||||
== Reference
|
== Reference
|
||||||
|
|
||||||
@@ -58,4 +58,4 @@ Join our https://drpc.org/discord[Discord]
|
|||||||
|
|
||||||
== Links
|
== Links
|
||||||
|
|
||||||
- Github: https://github.com/p2p-org/dshackle
|
- Github: https://github.com/drpcorg/dshackle
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
addEventListener("DOMContentLoaded", async (event) => {
|
addEventListener("DOMContentLoaded", async (event) => {
|
||||||
let response = await fetch(
|
let response = await fetch(
|
||||||
"https://raw.githubusercontent.com/p2p-org/dshackle/master/foundation/src/main/resources/chains.yaml"
|
"https://raw.githubusercontent.com/drpcorg/dshackle/master/foundation/src/main/resources/chains.yaml"
|
||||||
);
|
);
|
||||||
let chains = yaml.load(await response.text());
|
let chains = yaml.load(await response.text());
|
||||||
let protocols = chains["chain-settings"].protocols;
|
let protocols = chains["chain-settings"].protocols;
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ class EthCallLimitValidator(
|
|||||||
ListParams(
|
ListParams(
|
||||||
TransactionCallJson(
|
TransactionCallJson(
|
||||||
Address.from(config.callLimitContract),
|
Address.from(config.callLimitContract),
|
||||||
// contract like https://github.com/p2p-org/dshackle/pull/246
|
// contract like https://github.com/drpcorg/dshackle/pull/246
|
||||||
// meta + size in hex
|
// meta + size in hex
|
||||||
HexData.from("0xd8a26e3a" + options.callLimitSize.toString(16).padStart(64, '0')),
|
HexData.from("0xd8a26e3a" + options.callLimitSize.toString(16).padStart(64, '0')),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user