Odak modu

Smart Contract development on Solana using Rust

Frontend Integration with the Smart Contract - optional

In web3, after building our smart contracts, frontend integration is required to make them interact with users like in web2.

To develop a web application that can interact with a Ethereum smart contract, we need 2 things about that smart contract:

  • Address: When the smart contract is deployed to a blockchain, bytecode (binary data) is stored on the blockchain and an address is allocated to this contract. With this address, the smart contract stored in the blockchain can be accessed.
  • ABI (application binary interface)

However, in Solana we need two main things:

  • Provider: Solana Blockchain Provider is basically a wrapper around the Solana JSON RPC API making it easier to interact with the Solana Blockchain.
  • Program Id: Id of the program in a network.

The Solana-Web3.js library which gives a convenient interface for the RPC methods aims to provide comprehensive Solana coverage. Using Solana web3.js it is possible to develop frontend with programming languages such as React, JavaScript, TypeScript and integrate it into a smart contract.

You can find detailed further information from Solana Official documentation: https://docs.solana.com/developing/clients/jsonrpc-api 

You can find the full documentation for the @solana/web3.js library here: https://solana-labs.github.io/solana-web3.js/ 

Background Pattern
Birlikte öğrenelim

Sektörde en çok aranan yazılım becerilerini kazan

Yapay zeka desteği, birebir mentörlük saatleri, canlı dersler ve senin için özel hazırlanmış içeriklerle eksiklerini tamamla, düzenli geri bildirimler al ve öğrenme sürecini en verimli hale getir.

Yunus Emre Kabakcı

Patika+ mezunu

Patika+ Fullstack Web Development Bootcamp mezunumuz Yunus Emre,

3 ay içinde Katar’dan aldığı teklif ile, global bir şirket olan Pavo Group’da işe başladı!


“İçerik zenginliği, mentor desteği, ileriye dönük bir network sağlaması ve dünyada en çok tercih edilen frameworkler üzerinden bir eğitim veriyor olması Patika+’ı tercih etmemin temel sebepleri oldu!“

Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!