This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
forked from dydxprotocol/v4-testnets
-
Notifications
You must be signed in to change notification settings - Fork 0
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 ed7c689
Showing
130 changed files
with
13,772 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,20 @@ | ||
name: Validate genesis.json | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
paths: | ||
- 'dydx-testnet-2/genesis.json' | ||
push: | ||
paths: | ||
- 'dydx-testnet-2/genesis.json' | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
dydx-testnet-2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
- name: Validate final genesis file | ||
run: make validate-dydx-testnet-2-final-genesis |
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,21 @@ | ||
name: Create and validate genesis for gentx | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
dydx-testnet-2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
- name: Validate genesis for gentx | ||
run: make validate-dydx-testnet-2-gentx | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: genesis.new.json | ||
path: dydx-testnet-2/genesis.new.json | ||
if-no-files-found: error |
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 @@ | ||
genesis.new.json |
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 @@ | ||
FROM alpine:3.18 | ||
|
||
RUN apk add --no-cache jq | ||
|
||
ENV HOME /dydxprotocol | ||
WORKDIR /workspace | ||
|
||
ENTRYPOINT ["sh", "/workspace/validate.sh"] |
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,11 @@ | ||
Proprietary License © 2023 dYdX Trading Inc. | ||
|
||
dYdX Trading Inc. ("dYdX") hereby grants you the right to access, copy and use the code in this repository (the "Licensed Code") solely for purposes of evaluating the Licensed Code and evaluating interoperability of the Licensed Code with your products and services. | ||
|
||
You agree not to (i) access, copy or use the Licensed Code for any purpose other than as expressly licensed above, (ii) provide, disclose or distribute the Licensed Code to any third party, or (iii) modify or creative derivative works of the Licensed Code. Any violation of these terms will automatically terminate your rights under these terms. | ||
|
||
All copies of the Licensed Code are subject to these terms. You must conspicuously display these terms on each copy of the Licensed Code. | ||
|
||
dYdX intends to make the Licensed Code available under an open source license in the near term. The terms of this license apply unless and until the Licensed Code is made available by dYdX under an open source license. | ||
|
||
These terms do not grant you any right in any trademarks, service marks or logos of dYdX or its affiliates. TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED CODE IS PROVIDED "AS IS". dYdX HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. |
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,23 @@ | ||
validate-dydx-testnet-2-gentx: | ||
docker build --platform linux/amd64 --tag public-testnet-validate $(CURDIR) | ||
docker run --platform linux/amd64 \ | ||
-e VALIDATE_GENESIS_DIR_PATH=./dydx-testnet-2 \ | ||
-e VALIDATE_GENESIS_TAR_PATH=./dydx-testnet-2/binaries/v0.1.4/dydxprotocold-v0.1.4-linux-amd64.tar.gz \ | ||
-e VALIDATE_GENESIS_STAKE_TOKEN=dv4tnt \ | ||
-e GENESIS_FILE_NAME=pregenesis.json \ | ||
-e ADD_GENTXS=true \ | ||
-v $(CURDIR):/workspace \ | ||
public-testnet-validate | ||
|
||
validate-dydx-testnet-2-final-genesis: | ||
docker build --platform linux/amd64 --tag public-testnet-validate $(CURDIR) | ||
docker run --platform linux/amd64 \ | ||
-e VALIDATE_GENESIS_DIR_PATH=./dydx-testnet-2 \ | ||
-e VALIDATE_GENESIS_TAR_PATH=./dydx-testnet-2/binaries/v0.1.4/dydxprotocold-v0.1.4-linux-amd64.tar.gz \ | ||
-e VALIDATE_GENESIS_STAKE_TOKEN=dv4tnt \ | ||
-e GENESIS_FILE_NAME=genesis.json \ | ||
-e ADD_GENTXS=false \ | ||
-v $(CURDIR):/workspace \ | ||
public-testnet-validate | ||
|
||
.PHONY: validate-dydx-testnet-2-gentx validate-dydx-testnet-2-final-genesis |
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,10 @@ | ||
# dYdX V4 Public Testnet | ||
Welcome to the public testnet for dYdX V4! We'll be using this repo for distributing binaries, coordinating genesis, etc. | ||
|
||
## Useful Links | ||
- [Testnet documentations](https://v4-teacher.vercel.app/) | ||
- [Testnet schedule](https://v4-teacher.vercel.app/general_overview/schedule) | ||
|
||
## Communication | ||
Please post any questions you have to the Slack channel: #v-dydx-public-testnet-discussion. | ||
|
Binary file added
BIN
+25.7 MB
dydx-testnet-1/binaries/v0.0.1-rc1/dydxprotocold-v0.0.1-rc1-linux-amd64.tar.gz
Binary file not shown.
Binary file added
BIN
+23.7 MB
dydx-testnet-1/binaries/v0.0.1-rc1/dydxprotocold-v0.0.1-rc1-linux-arm64.tar.gz
Binary file not shown.
Oops, something went wrong.