DEV Community

kambala yashwanth
kambala yashwanth

Posted on

3

Decentralized Twitter on EOS

HI Devs,
Please checkout my project built on EOS blockchain using React-Redux as frontend.

GitHub logo yashwanth2804 / decenttwt

Decentralised twitter using #EOS blockchain

Decentralised twitter, will let you to tweet to Blockchain,EOS.Every tweet you make be on open blockchain.

alt text

Prerequisites

  • firstly install docker
  • install Eos docker image
  • install mongodb image

Eos docker

Docker pull & run

docker pull eosio/eos:v1.4.2`
docker run --name eosio \
  --publish 7777:7777 \
  --publish 127.0.0.1:5555:5555 \
  --volume CONTRACTS_DIR:CONTRACTS_DIR \
  --detach \
  eosio/eos:v1.4.2 \
  /bin/bash -c \
  "keosd --http-server-address=0.0.0.0:5555 & exec nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:7777 --access-control-allow-origin=* --contracts-console --http-validate-host=false --filter-on='*'"

to check if running

docker logs --tail 10 eosio

Make alias Add this to the end of bash.rc file

alias cleos='docker exec -it eosio /opt/eosio/bin/cleos --url http://127.0.0.1:7777 --wallet-url http://127.0.0.1:5555'

Strat & stop docker

docker start eosio
docker stop eosio

Docker mongo

Docker pull & run

docker pull mongo:4.0

docker run --rm --name mongo_blog_container -d -p 127.0.0.1:27017:27017 mongo:4.0

Check if running

docker logs mongo_blog_container --follow

Setup a

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay