Coder Social home page Coder Social logo

taiko-testnet-node's Introduction

Taiko Node Kurulum Rehberi

image

Taiko Node

Merhaba taiko Node kurulum rehberi
<< Hercules >>

🟢 Ön bilgi

Node kurabilmeniz için öncelikle Platform testnetini yapmanız gerekiyor. Platform testnetinde kullandığınız cüzdan adresini burada kullanacağız. Sistem 6060 port ile çalışıyor celestia gibi node kurduysanız çakışacaktır buna dikkat ediniz.

Platform testneti ile ilgili Bilgi

Explorer:

Linkler

🟢 Sistem özellikleri

Minimum:

  • CPU with 2+ cores
  • 4GB RAM
  • 500 Gb

Önerilern:

  • Fast CPU with 4+ cores
  • 16GB+ RAM
  • High-performance SSD with at least 1TB of free space

🟢 Sistem Güncelleme

sudo apt update
sudo apt upgrade

🟢 Docker Setup

apt install docker-compose
sudo apt-get update && sudo apt install jq && sudo apt install apt-transport-https ca-certificates curl software-properties-common -y && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin && sudo apt-get install docker-compose-plugin

🟢 1. Taiko dosyalarını indirin

git clone https://github.com/taikoxyz/simple-taiko-node.git

Screen Oluşturalım

screen -S taiko

taiko Klasörüne Giriş yapalım

cd simple-taiko-node

.env dosyası oluşturalım. Bu dosyayı oluşturduktan sonra Taiko platform testnetinde kullandığınız adresin Private keyini Tilki cüzdanınızdan alacaksınız ve .env dosyasına kaydedeceksiniz.

cp .env.sample .env

.Env dosyasına girelim burada değiştirmeniz gereken en alttaki bölüm.

nano .env

*ENABLE_PROPOSER=true ( Falseden true çeviriyoruz )
*L1_PROPOSER_PRIVATE_KEY= Cüzdanımızın private keyini yazıyoruz
*L2_SUGGESTED_FEE_RECIPIENT= Cüzdan adresimizi yazıyoruz.
*ctrl + x Yes diyerek kaydediyoruz.


image


Private Key nasıl alınır sağdaki 3 noktaya tıklayın --- >> ardından hesap bilgileri --- >> Özel anahtarı dışa aktar

image


image

🟢 Çalıştırma

Bu işlem sonrası kurulum yapacak ve senkronize olmaya başlayacaktır.

docker compose up

image

🟢 Explorer üzerinden block görüntüleme

Explorer üzerinden adresinizi yazın aşağıdaki resimdeki gibi ise sorun yok tabi önce senkronize olması gerekiyor.

image

🟢 Log Görme

Eğer başta screen oluşturmadıysanız bir screeen oıluşturup logları görebilirsiniz.

cd simple-taiko-node
docker compose logs -f

🟢 Durdurma

Bu işlem sonrası kurulum yapacak ve senkronize olmaya başlayacaktır.

docker compose down

🟢 Nodeyi silme

Bu işlem sonrası kurulum yapacak ve senkronize olmaya başlayacaktır.

docker compose down -v
cd
rm -fr simple-taiko-node

🟢 Sözleşme Oluşturma ( Bunu yapmak şart değil isterseniz yapın )

Bu işlem sonrası kurulum yapacak ve senkronize olmaya başlayacaktır.

curl -L https://foundry.paradigm.xyz | bash

image

source /root/.bashrc
foundryup

image

forge init hello_foundry && cd hello_foundry

Nodeyi kurduğunuz cüzdanın private keyini yazın

forge create --legacy --rpc-url https://l2rpc.a1.taiko.xyz --private-key CÜZDAN-PRİVATE-KEY src/Counter.sol:Counter

image

Sözleşme aşağıdaki gibi oluştu. Kod bölümüne gelin ve doğrulayı tıklayın bir sayfa açılacak en altta doğrula butonuna basın

image

image

Forklamayı ve beğenmeyi unutmayınız :)

taiko-testnet-node's People

Contributors

herculesnode 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.