KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
go-octa
★ 19
Open GitHub ↗
OctaSpace GO client
Download README (.md)
Explore Similar Repositories
custom-alert-box-plugin
:
Custom alert box using javaScript and css. This plugin will provide the functionality to customize the default JavaScript alert box.
JordanSchuetz-Website
:
THIS IS MY RESUME
logical_verification_2022
:
Logical Verification 2022-2023 course at VU Amsterdam
puissant_sdk
:
No description available.
turbot_rl
:
DRL-based collision avoidance for turtlebot3
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
go-octa
?
Download (.md)
## Go Octa Based on the go-ethereum v1.10.17 source code. ### Building the source  Building `geth` requires both a Go (version 1.14 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run ```shell make geth ``` or, to build the full suite of utilities: ```shell make all ``` ### How to deploy node and export RPC interface * Create non privileged user ``` useradd -m octa ``` * Create directories to store blockchain and node software ``` mkdir /home/octa/data/geth mkdir /home/octa/opt/geth ``` * Download node software ``` curl https://github.com/octaspace/go-octa/releases/download/v2.0.0/geth-linux-amd64 -o /home/octa/opt/geth/geth-linux-amd64 chmod +x home/octa/opt/geth/geth-linux-amd64 chown -R octa.octa /home/octa ``` * Create systemd unit file ``` cat > /etc/systemd/system/octa-node.service << EOF [Unit] Description=OCTA node After=network.target [Service] User=octa Group=octa Restart=on-failure RestartSec=10 ExecStart=/home/octa/opt/geth/geth-linux-amd64 --datadir /home/octa/data/geth \ --port 38000 \ --http \ --http.addr 127.0.0.1 \ --http.port 8545 \ --http.vhosts * \ --http.api "eth,net,web3" \ --ws \ --ws.addr 127.0.0.1 \ --ws.port 8546 \ --ws.origins * \ --ws.api "eth,net,web3" \ --cache 512 \ --maxpeers 128 \ --gpo.maxprice 1000000000 \ --rpc.gascap 21000000000 [Install] WantedBy=default.target EOF ``` * Enable and start service ``` systemctl daemon-reload systemctl enable octa-node systemctl start octa-node ``` * Check status and logs ``` systemctl status octa-node ``` ``` journalctl -u octa-node ```