Created
April 15, 2020 02:24
-
-
Save prestonvanloon/0312c4f9647463b4988e6a4035b5e9bd to your computer and use it in GitHub Desktop.
Build instructions for ethereumapis and python
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
mkdir work | |
cd work | |
# Have the well known protos available somewhere on your system. | |
git clone [email protected]:googleapis/api-common-protos.git | |
# Have the ethereumapis repo somewhere on your system | |
git clone [email protected]:prysmaticlabs/ethereumapis.git | |
# Create some output directory | |
mkdir python_out | |
# From the working directory, you need to use the -I flags to indicate the well known protos repo | |
# and the ethereumAPIs repo. | |
protoc -I=./ethereumapis -I=./api-common-protos/ --python_out=./python_out/ ./ethereumapis/eth/v1alpha1/beacon_chain.proto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment