Create Instructions on how to setup a Trinity node for development
See original GitHub issueWhat is wrong?
The Trinity Readme only lists a couple of environment variables but has no further information on how to setup and run a Trinity node.
This should be fixed to make it easier to onboard new contributors.
Here’s what I tried to run the simple JSON-RPC server.
$ python3 trinity/rpc/server.py -db foo
Traceback (most recent call last):
File "trinity/rpc/server.py", line 114, in <module>
privkey=ecies.generate_privkey(),
File "/home/cburgdorf/Documents/hacking/py-evm/evm/chains/base.py", line 292, in configure
return super().configure(name, **overrides)
File "/home/cburgdorf/Documents/hacking/py-evm/evm/utils/datatypes.py", line 18, in configure
"not found on the base class `{2}`".format(cls.__name__, key, cls)
TypeError: The LightChain.configure cannot set attributes that are not already present on the base class. The attribute `privkey` was not found on the base class `<class 'p2p.lightchain.LightChain'>`
It’s most likely related to the fact that I have not setup the environment variables. I actually have no idea how I would create a key to set as TRINITY_NODEKEY
for instance.
The tinkerer in me tried to run TRINITY_NODEKEY='foo' && python3 trinity/rpc/server.py -db foo
but that gave me the same error.
Long story short, the Readme should be newbie friendly and needs clear steps to get the node running.
How can it be fixed
If someone can give me a couple of pointers I can happily compile that into a Readme update
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Trinity-ETH Network Configuration Guide
1.Use create wallet command to set up an address before using the channel. trinity> create wallet <your wallet file name>. 2.Open the existing ......
Read more >Tutorial: Setting up a Trinity Network Credit node on Windows 10
To verify that the installation was successful, open Command Prompt by pressing Window+R, and type cmd. Type python into the window and you ......
Read more >Node Configuration for Trinity Wallet Support - IOTA Blog
If you set up your node by following a tutorial, please contact the author of the tutorial and share this blog post. If...
Read more >Setting up a Node development environment - MDN Web Docs
Node and Express make it very easy to set up your computer in order to start developing web applications. This section provides an...
Read more >Trinity Release 3.5.X - Command Line Reference Guide
The terms Trinity and ForeFront are trademarks of Patton Electronics Company. ... Creating an ACL Profile and Entering Configuration Mode .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m waiting for the dust to settle in https://github.com/ethereum/py-evm/pull/382 and then I will update the docs / Readme to make sure everyone has a smooth experience on how to run trinity with the different options.
Closing as this is now covered by http://py-evm.readthedocs.io/en/latest/contributing.html