How to run a TMC Witness (Tipmeacoffee.com) | Devlog 38 | June 4 2022

image.png

first of all, introducing you all to a new platform Tipmeacoffe based on Blockchain breeze forked from Avalon Node (D.tube) based on Proof of Likes.

It pays you in token to liking the content and sharing the content that gets likes. Its currently in Beta, and so very less witness(only devs mainly). So here I am sharing Witness guide.

Before that important links

Breeze Blockchain - https://breeze.foundation/

Breeze Dapp - TMC - https://tipmeacoffee.com/

TMC token - https://tmac.finance/

FAQ and Help - https://tipmeacoffee.help/

Discord Server - https://discord.gg/fVEz74qDmj

Telegram Group - https://t.me/tipmeacoffee

Github - https://github.com/breeze-foundation

My refer link so we both can get tokens on SignUp https://tipmeacoffee.com/welcome/tekraze

How to Run Witness

Prerequisites

  • A server with min 4GB of RAM
  • 200GB + Disk (SSD recommended)
  • 2 VCPU or similar
  • Mongodb Community edition
  • Nodejs Installed

Steps to run

1. Install MongoDB

wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org

Enable and start Mongodb

sudo systemctl enable mongod
sudo systemctl start mongod

2. Install Nodejs

sudo apt-get update
sudo apt-get install nodejs npm

3. Clone Project

sudo apt-get install git wget tmux htop jq unzip

git clone https://github.com/breeze-foundation/breeze
cd breeze

Make sure to use a GitHub personal Access token and not a normal password while cloning

4. Sync the Project

First, edit the file scripts/start.sh with nano editor

nano scripts/start.sh

and paste following content at bottom and save then exit by Ctrl + X for nano

export PEERS=ws://167.71.199.111:6001,ws://5.161.53.104:6001
export MAX_PEERS=20

Now start a screen instance for running node

screen -S breeze

You can name anything in place of breeze, just make sure you remember it.
Also, if you do not have screen installed do install it by commands
sudo apt-get install screen

Make sure you are on same directory, then execute command to make the script executable

chmod +x scripts/start.sh

Now launch the script

./scripts/start.sh

You will see different logs coming, this means your node is running fine. You need to keep it running, so don't close the instance.

To exit without closing the screen, press the keys combination Ctrl + a + d

Now, wait some time for the node to be in sync.

It generally takes around 4+hours on an average instance

How to declare Witness

1. First, make sure to export your system local IP address with the below command

export API_IP=your_ip_here

2. Generate a witness key pair for your node

node src/cli key > witness-key.json

this key is different from your Tipmeacoffe node

3. Declaring node

Run command to declare Node and associate your witness key with your account

node src/cli enable-node YOUR_WITNESS_PUB_KEY -M YOUR_USERNAME -K YOUR_KEY

Here your_key be replaced with the primary key you got in the signup

4. Vote for your own witness

node src/cli vote-witness YOUR_WITNESS_USERNAME -M YOUR_USERNAME -K YOUR_KEY

Each action requires a bandwidth, so please wait before doing the action, if it gives a bandwidth error. Or you can ask in the social group.

Now your witness is running, it's time to share on social channels and ask for witness votes.

You can vote for my witness at below link

https://tipmeacoffee.com/witnesses

Thanks for reading.



@tekraze Witness Projects


Blurt Alternative Frontend - https://blurt.one
Blurt Wallet Alternative Frontend - https://wallet.blurt.one
Blurt RPC - https://rpc.blurt.one
Blurt witness Node - @tekraze
Blurt.one Witness Node @blurt.one
Techclub curation - @techclub
Blurt Dapps page
Blurt Recovery tool - https://recovery.blurtwallet.com
Blurtlatam Frontend - https://blurtlatam.com
Blurtlive Frontend - https://blurt.live
Serey Witness - Announcement
Digchain Validator - Validator Explorer Link



​You can support me by giving a vote to my Blurt Witness as I am doing dev work, Hosting an RPC, and now frontend.
If you really want me to be here on this platform, only your witness vote can help me, so feel free to do this by clicking on the below link

witness.png

Witness Voting Link


Follow me on my social networks


Tekraze Blog
Instagram Personal
Instagram Blog account
Instagram Gaming Account
Youtube Gaming
DTube
Tekraze on Medium
Dehazelabs on Medium
Dev.to
Hashnode
Noise
Hive
Steemit
Serey
Whaleshares
TipMeACoffee

Cross Posted from https://blurt.blog/breeze/@tekraze/how-to-run-a-tmc-witness-tipmeacoffee-com-or-devlog-38-or-june-4-2022



0
0
0.000
0 comments