Giter VIP home page Giter VIP logo

definode's Introduction

DEVELOPMENT ONGOING...

✨ DeFiNode for more decentralization ✨

Build your own DeFiNode on a Raspberry 4B

Installation guide for the DeFiChain on a Raspberry 4B 4GB-8GB RAM .

The DeFiNode is a do-it-yourself DeFiChain full node DeFiChain original source code. No code will be altered during installation and will 100% taken from the DeFiChain repository.

Basic Features (with the dedicated DeFiNode Case, there will be more features introduced)

  • Easy installation (Easy mode and Expert mode)
  • All functionalities of the official full node GUI wallet app
  • Can run a Master node*
  • Controlled by web browser (From your PC or smartphone)
  • 100% open source

Hardware Needed

Estimated cost around 80-120 USD - based on shops and location.

(IMAGES)

Basic Amazon Shopping List (with the dedicated DeFiNode Case, there will be a separate shopping list)

Please try to use the exact hardware models that are recommended in the shopping lists. A monitor and mouse keybord are needed for the initial setup

  • Raspberry 4 4GB (or 8GB) amazon link
  • Power Supply US - USB-C, 5V, >=3A amazon link
  • Power Supply EU - USB-C, 5V, >=3A amazon link
  • 256GB - Samsung FIT Plus Flash Drive amazon link min. 128GB version
  • Heatsink Case for RPi4 : amazon link
  • HDMI to micro HDMI adapter amazon link
  • Depending on your monitor input, you will need a HDMI cable or a HDMI -> (DFI, VGA...) adapter
  • Network cable to your router (you can use Wi-Fi if you have a good 5Ghz connection). Ethernet is recommended

Assemble your basic DeFiNode

When you have all parts you need to:

  • Assemble the heatsinks on the Raspberry (follow the instructions in package).
  • Connect the Ethernet cable to you Raspberry Pi and router (check your DHCP router config if needed)
  • Connect the micro HDMI adapter + cable to your monitor input
  • Connect mouse and keyboard to the Raspberry Pi USB ports
  • Do not switch it on yet (We need to prepare the Samsung FIT Plus Flash Drive on your PC/MAC first)

Now your basic DeFiNode should look like this:

20210708_120318

Downloading the official Raspberry Pi OS and preparation of the Samsung FIT Plus Flash Drive

2021-07-06 12_33_26-Raspberry Pi OS – Raspberry Pi

  • Go to official Raspberry Pi OS
  • Download Raspberry Pi Imager for your specific OS (Windows, MAC, Linux)
  • Install Pi Imager and start it

2021-07-06 12_43_15-Raspberry Pi OS – Raspberry Pi

  • Insert the Samsung FIT Plus Flash Drive into your PC/Mac
  • Select Raspberry Pi OS 32Bit
  • Select Samsung FIT Plus Flash Drive
  • Click "Write" and follow the instructions

Boot your DeFiNode

  • Insert the Samsung FIT Plus Flash Drive into the Raspberry Pi (blue connector)
  • Use the switch to switch on the Raspberry Pi (LEDs should light up)

Welcome to Raspberry Pi OS! You should see this screen on your monitor.

newraspberry

Follow the screen and setup your language, Wi-Fi (it is recommended to use a Ethernet connection for stability) an password. It is important you write this password down. It will be needed later on.

password

Install remote Desktop to control your DeFiNode from your PC / Mac. (Not mandatory but very convenient)

As an alternative you can use the build in VNC tool: VNC

The next two steps are not mandatory and you can do the initial installation with the monitor, mouse and keyboard. But it is very convenient to use remote Desktop to work with the DeFiNode and apply future updates.

  • Open the Terminal by clicking on it

grafik

  • Enter: this command and press ENTER
sudo apt-get install xrdp

grafik grafik

  • Write down your the local IP Address by moving the mouse cursor on the connection icon in the top right corner

grafik

You can fix this address in your individual router setting so it will not change. Typically you don’t have to do it.

Connect to your DeFiNode from your PC / Mac (Not mandatory but very convenient)

On a Windows PC, look for "Remote Desktop Connection".

  • Mac app: microsoft-remote-desktop
  • Linux app: rdesktop

Windows Example (others should be similar):

  • Open Remote Desktop Connection (press windows + q -> enter "remote").

2021-07-08 12_25_19-Remotedesktopverbindung

  • Enter the DeFiNode IP address you've written down -> press enter

2021-07-08 12_26_20-192 168 0 236 - Remotedesktopverbindung

  • Enter "pi" as username and your DeFiNode password you've written down -> press OK
  • You should now see the DefiNode desktop on your PC / Mac

2021-07-08 12_26_52-192 168 0 236 - Remotedesktopverbindung

🎉 Congratulations! You've done a very good Job so far! 🎉

🎉 You can now diconnect the external Monitor, mouse and keyboard and proceed work with the Remote Desktop 🎉

Installing and running Defichain

  • Open a new terminal Terminal

grafik

  • Enter: this command and press ENTER
git clone http://github.com/definode/definode && cd definode && sudo sh definode.sh

🎇 #Watch the magic happening (for ~3h) 🎇

I know its long but this is really necessary to ensure you build the official software from DeFiChain on your DeFiNode.

There may be some orange messages appear in the terminal, but this is nothing to worry about.

When everything is finished and running you will get the message "Please open your browser http://localhost:5000"

  • Open the chromium browser on your DeFinode and enter http://localhost:5000 -> press enter

  • You can also use your PC/Mac/Mobile phone browser (when in same LAN) and enter the IP Address + Port to remote control the Node from other devices. I.e. 192.168.0.236:5000 -> press enter. You can bookmark this in your browser.

🎉 Congratulations! You've successfully installed the Defichain software on your DeFiNode 🎉

definode's People

Contributors

crypto-r avatar definode avatar dj4blockchain avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.