πŸ—οΈBuilding

A builder's manual for developers

The Basics

Blockchain Basics

A blockchain is a public database that is updated and shared across many computers in a network. Berylbit is a Proof of Work network, which means it validates transactions in the same manner as Bitcoin. The consensus mechanism allows anonymous entities in a decentralized network to trust each other. This provides robust security and true decentralization to develop your project.

Intro to Dapps and Web3

Web3

Web3 refers to the next generation of internet that is being built in a decentralized manner on the blockchain. The four principles of Web3 are: Decentralized (ownership distributed amongst builders and users), Permissionless (everyone has equal access), Native payments (cryptocurrency can be used to spend and send money online), and Trustless (uses methods such as proof of work instead of third parties).

Dapps

A Dapp is a decentralized app which operates on the Berylbit network. This is part of the new generation of Web3. It can have code on the front end to allow user interface and interaction but on the backend it is decentralized on the Berylbit network. Common Dapps you may have heard of are Opensea and Uniswap. The Berylbit community has already developed DuckySwap to excute on the Berylbit network.

Build on the Berylbit Network

Smart Contract Calls

0x459c4Ea5D552dA27766A14DD6C7063A85C5653bC - WBRB

0xeC3273F06e3A60436905cbe2E265221f2a2bbBB - Factory

0x5daEF89fDCE0Bf4E7A21e3026378b51b529b30CA - Router

0x827705cE79Ac7FaFfb3b83b65D9264371B7860A4 - multicall

Ducky Swap GUI

https://berylbit-labs.github.io/ducky-swap/index.html#/add/ETH/0xc7F756729F59352612117543611120B2f595d278

Querying Aggregated ducky-swap Data

{

uniswapFactories(first: 1) {

pairCount

totalVolumeUSD

totalLiquidityUSD

}

}

Connect to the BRB Mainnet

https://chainlist.org/chain/9012

Hardhat

https://hardhat.org

Remix

https://remix.ethereum.org/?#language=solidity%version&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.7+commit.e28d00a7.js

Last updated