Skip to content

Commit

Permalink
Rename p2p-org to drpcorg (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyganch authored May 22, 2024
1 parent 8f8d89a commit 100578d
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ endif::[]
:version: 0.12.0
:version-short: 0.12

image:https://github.com/p2p-org/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://github.com/drpcorg/dshackle/workflows/Tests/badge.svg["Unit Tests"]
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]
_Dshackle is a Fault Tolerant Load Balancer for Blockchain API used at https://drpc.org/[DRPC]_
Expand Down Expand Up @@ -35,7 +35,7 @@ Provides:
- Separate public blockchain nodes from your internal servers
=== 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

Expand Down Expand Up @@ -119,7 +119,7 @@ link:docs[See full documentations].

==== 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
[source,bash]
Expand Down
2 changes: 1 addition & 1 deletion dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2. Go to `Dashboards` -> `Import`
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).
4 changes: 2 additions & 2 deletions docs/02-quick-start.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ See detailed xref:reference-configuration.adoc[Configuration Reference]

==== 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
[source,bash]
Expand All @@ -93,7 +93,7 @@ export DRPC_KEY=...
.Run Dshackle
[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
Expand Down
8 changes: 4 additions & 4 deletions docs/04-upstream-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

=== 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

Expand Down Expand Up @@ -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:

- https://github.com/p2p-org/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/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#L53[trace]
- https://github.com/drpcorg/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#L41[filter]
- default, all methods that are enabled by default
[source, yaml]
----
Expand Down
6 changes: 3 additions & 3 deletions docs/05-start.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Prepare configuration files `dshackle.yaml` and `upstreams.yaml` in the current

[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

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`
3. Copy to `/opt/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`
2 changes: 1 addition & 1 deletion docs/07-methods.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NOTE: It's not necessary to use gRPC, as Dshackle can provide standard JSON RPC

=== 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
[source,proto]
Expand Down
4 changes: 2 additions & 2 deletions docs/99-ending.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
== Links

- Github: https://github.com/p2p-org/dshackle
- Github: https://github.com/drpcorg/dshackle
== Chat

Expand All @@ -9,4 +9,4 @@ Join our https://drpc.org/discord[Discord]
== Support

Want to support the project, prioritize a specific feature, or get commercial help with using Dshackle in your project?
Please contact [email protected] to discuss the possibility
Please contact [email protected] to discuss the possibility
4 changes: 2 additions & 2 deletions docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Main goals:

== 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

Expand All @@ -58,4 +58,4 @@ Join our https://drpc.org/discord[Discord]

== Links

- Github: https://github.com/p2p-org/dshackle
- Github: https://github.com/drpcorg/dshackle
2 changes: 1 addition & 1 deletion docs/networks.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>Example config for <span class="_chain"></span></h2>

addEventListener("DOMContentLoaded", async (event) => {
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 protocols = chains["chain-settings"].protocols;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class EthCallLimitValidator(
ListParams(
TransactionCallJson(
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
HexData.from("0xd8a26e3a" + options.callLimitSize.toString(16).padStart(64, '0')),
),
Expand Down

0 comments on commit 100578d

Please sign in to comment.