Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

general updates and fixes #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FractionalUnits.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$TurtleNetwork

1TN is made up of 1/100,000,000 individual units.
1 TN is made up of 1/100,000,000 individual units.

1 TN is the minimum amount of TN you can work with on the blockchain.
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo

</section>
<footer>
<p></p>
{% include share-buttons.html %}
{% if site.github.is_project_page %}
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
Expand Down
34 changes: 21 additions & 13 deletions _nodeowners/how-to-setup-a-new-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: "How to setup a new node"

**Document Approvals**<br>
Document Owner: _@Black_Turtle on Telegram_ <br>
Document Creator/Editor: _@gordobtel on Telegram_ <br>
Document Creator/Editor: _@thenerd386 on Telegram_ <br>

**Table of Contents**

Expand Down Expand Up @@ -51,17 +51,17 @@ The following tutorial will show the full steps in setting-up a Linux Full Node
- Reboot

- Create a local App user with sudo rights (more secure than using root):
- Issue the following command: `adduser *username*` (replace \*username\* with the preferred username) and it will prompt to set a password.
- Issue the following command: `sudo adduser *username*` (replace \*username\* with the preferred username) and it will prompt to set a password.
- Add the new username into the sudo group with the following command:
`usermod -aG sudo *username*` (replace \*username\* with the chosen username).
`sudo usermod -aG sudo *username*` (replace \*username\* with the chosen username).
- Log out as root.

- Add this new user to SSHD config
- Open /etc/ssh/sshd_config in your editor
- Add this to the bottom of the file `AllowUsers *username*` (replace \*useruname\* with what you chose above)
- Add this to the bottom of the file `AllowUsers *username*` (replace \*username\* with what you chose above)
- For extra security you can also change the line `PermitRootLogin yes` to `PermitRootLogin no`
- Save the file and exit
- Type `sudo systemctl restart sshd` or `service sshd restart`
- Type `sudo systemctl restart sshd` or `sudo service sshd restart`
- Now you can log in to the server with your new user

## Turtle Network Node Setup -- Step 1
Expand Down Expand Up @@ -91,6 +91,8 @@ sudo apt install openjdk-11-jdk
**Github:**
<https://github.com/TurtleNetwork/TurtleNetwork/releases>

***Note: If you want to run a Testnet node make sure to download the files named with tn-testnet***

1. Download the current .deb package (check the latest release in the above link): `wget https://github.com/TurtleNetwork/TurtleNetwork/releases/download/v1.3.16/tn_1.3.16_all.deb` (replace `/v1.3.16/` with the latest version, replace `tn_1.3.16_all.deb` with the latest .deb version).

2. Install the downloaded .deb file: `dpkg -i tn_1.3.16_all.deb` (replace `tn_1.3.16_all.deb` with the latest .deb version).
Expand All @@ -112,11 +114,12 @@ sudo apt install openjdk-11-jdk
- Record your 'custom api key' and the 'hash' value which was generated by the previous command

5. Edit the TN.conf file in /usr/share/tn/:
- `vi /usr/share/tn/conf/tm.conf` (or `nano /usr/share/tm/conf/tn.conf`)
- `vi /usr/share/tn/conf/tn.conf` (or `nano /usr/share/tn/conf/tn.conf`)
- Change the following defaults:
- \# P2P Network settings section:
- \# Network settings section:
- remove the '\#' then change: node-name = \"My MAINNET node\" \--\> change to your custom node name
- remove the '\#' then change: declared-address = \"1.2.3.4:6868\" \--\> change to 'yourstaticip:6860
- if you experience issues connecting, you can specify know peers in this section \--\> known-peers = ["peer:port", "peer:port", "peer:port"]
- \# Wallet settings section:
- change: password = \"ridetheTN!\" to your wallet password set in section 4.
- remove the '\#' then change seed = \"\" to your ENCODED SEED noted in section 4.
Expand Down Expand Up @@ -193,7 +196,7 @@ echo "*** Turtle Network Firewall Complete ***"

**Note:** All terminal sessions and commands from this step, will be done with the chosen 'username' from the 'Hosting section'.

1. Backup your current TN.conf: `cp /usr/share/tn/conf/tn.conf /usr/share/tn/conf/tn.conf.backup`
1. Backup your current tn.conf: `sudo cp /usr/share/tn/conf/tn.conf /usr/share/tn/conf/tn.conf.backup`

2. Stop the TN node: `sudo service tn stop` or `sudo systemctl stop tn`

Expand All @@ -203,16 +206,21 @@ echo "*** Turtle Network Firewall Complete ***"

4. Install the downloaded .deb file: `dpkg -i tn_1.3.16_all.deb` (replace \*.deb with the latest .deb version)

<details>
<summary>If you need to resync the entire blockchain because this is mandatory:</summary>
<p>Remove TN data folder: `rm -rdf /var/lib/tn/data`</p>
</details>

5. Start the TN node: `sudo service tn start` or `sudo systemctl start tn`

<p>If you need to resync the entire blockchain: </p>

- Remove TN data folder: `rm -rdf /var/lib/tn/data`

# Other Useful Information
- Review the node log: `sudo journalctl -u tn.service -f`
- Turtle Node Reporting: <http://statistics.turtlenetwork.eu/nodes>
- peers.dat is located at /var/lib/tn/peers.dat
- wallet.dat is located at /var/lib/tn/wallet/wallet.dat

## Community

Get answers to your questions in the Turtle Network [group](https://t.me/turtlenetwork) in Telegram.

# Video
[Tutorial on node setup](https://www.youtube.com/watch?v=G8ICWvelEys&feature=youtu.be&a=)
6 changes: 3 additions & 3 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Review the articles to understand the value that blockchain offers.
The main objects of blockchain:

* [Account](/about/account.html)
* [Transaction](/en/blockchain/transaction)
* [Block](/en/blockchain/block)
* [Node](/en/blockchain/node)
* [Transaction](/en/blockchain/transaction) - _Missing_
* [Block](/en/blockchain/block) - _Missing_
* [Node](/en/blockchain/node) - _Missing_
14 changes: 7 additions & 7 deletions devs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Send transactions and read blockchain data from your applications on Python, Jav
Start creating decentralised applications following the steps:

- View the Ride language [presentation](https://wavesplatform.com/technology/ride) on the official product page.
- Learn the language syntax in the [introductory article](/en/ride/getting-started). Take a look at the [examples](https://github.com/wavesplatform/ride-examples) of Ride scripts.
- The process of developing a decentralized application is explained in the article [How to Build, Deploy and Test a Waves Ride dApp](https://blog.wavesplatform.com/how-to-build-deploy-and-test-a-waves-ride-dapp-785311f58c2) on Medium. A step-by-step example of creating a simple dApp is shown on the page [Simple voting of the Waves blockchain](/en/building-apps/smart-contracts/simple-voting-on-the-waves-blockchain).
- Learn the language syntax in the [introductory article](https://docs.waves.tech/en/ride/getting-started). Take a look at the [examples](https://github.com/wavesplatform/ride-examples) of Ride scripts.
- The process of developing a decentralized application is explained in the article [How to Build, Deploy and Test a Waves Ride dApp](https://blog.wavesplatform.com/how-to-build-deploy-and-test-a-waves-ride-dapp-785311f58c2) on Medium. A step-by-step example of creating a simple dApp is shown on the page [Simple voting on the Waves blockchain](/en/building-apps/smart-contracts/simple-voting-on-the-waves-blockchain).
- To learn more about Ride and the infrastructure for creating decentralised applications, take the [Mastering Web3 with Waves](https://stepik.org/course/54415/promo) course. After completing the course, you will receive a certificate of successful completion of the course.
- Scripts can be developed with Waves Ride IDE and setting the network byte to: 'L' and setting network node to: https://tnnode2.turtlenetwork.eu/. This can be done through the settings wheel on the top right hand corner of the IDE.

Expand All @@ -24,14 +24,14 @@ Start creating decentralised applications following the steps:
- [Waves IDE](https://ide.wavesplatform.com/) — online application for developing and deploying applications on the blockchain.
- [Surfboard](https://github.com/wavesplatform/Surfboard) — command-line interface for testing and deploying applications on the blockchain.

## Crowdfunding

Coming soon

## Community

Get answers to your questions in the Turtle Network [group](https://t.me/turtlenetwork) in Telegram.

## Waves platform on GitHub
## TurtleNetwork platform on GitHub

Turtle Network platform page on GitHub — [https://github.com/turtlenetwork](https://github.com/turtlenetwork).

## Waves platform on GitHub

Waves platform page on GitHub — [https://github.com/wavesplatform](https://github.com/wavesplatform).