Building on Ramestta

Polygon developers are by default Ramestta developers. Welcome. Simply switch to the Ramestta RPC and get started. All familiar tools used on Polygon are supported on Ramestta. Whether it is Truffle, Remix, or Web3js,Ethers,Viem,Wagmi, Ramestta offers the same UX as Polygon.

Connect your wallet and deploy any decentralized application to either Ramestta Mainnet or Ramestta Testnet.

Ramestta Testnet connects to Mumbai , which acts as its ParentChain, a testnet layer 1 (L1).

Find all the network-related details in the network documentation.

Overview

Ramestta is a layer 2 (L2) network to Polygon, employing a proof-of-stake (PoS) consensus mechanism, and thus composed of the following two layers:

Heimdall layer, a consensus layer consisting of a set of proof-of-stake Heimdall nodes for monitoring staking contracts deployed on the Polygon mainnet, and committing the Ramestta Network checkpoints to the Polygon mainnet. Heimdall is based on Tendermint. Bor layer, an execution layer which is made up of a set of block-producing Bor nodes shuffled by Heimdall nodes. Bor is based on Go Ethereum (Geth).

In order to be a validator on the Ramestta Network, you need to:

Run a sentry node, which is a separate machine running a Heimdall node and a Bor node. A sentry node is open to all nodes on the Ramestta Network. Run a validator node, which is a separate machine running a Heimdall node and a Bor node. A validator node is only open to its sentry node and closed to the rest of the network. Stake the RAMA tokens in the staking contracts deployed on the Polygon mainnet. Wallets¶

To interact with the Ramestta Network, you need to have a EVM-based wallet because Ramestta runs on Ramestta Virtual Machine (RVM). You can choose to set up a Metamask or Ramestta Wallet.

Smart contracts

Ramestta supports many services you can use to test, compile, debug, and deploy decentralized applications onto the Ramestta Network. These include deployment using thirdweb, Alchemy, Chainstack, QuickNode, Remix, Truffle, Hardhat, and Replit.

Connecting to Ramestta Chain

You can add Ramestta Chain to MetaMask or directly use Arkane, which allows you to connect to Ramestta using RPC.

In order to connect with the Ramestta network to read blockchain information, we recommend using the Alchemy SDK.

// Javascript
// Setup: npm install alchemy-sdk
const { Alchemy, Network } = require("alchemy-sdk");

const settings = {
  apiKey: "demo", // Can replace with your API Key from https://www.alchemy.com
  network: Network.Ramestta Mainnet, // Can replace with Ramestta mainnet
};

const alchemy = new Alchemy(settings);

async function main() {
  const latestBlock = await alchemy.core.getBlockNumber();
  console.log("The latest block number is", latestBlock);
}

main();

Building a new dApp on Ramestta?

Decentralized applications (dApps) act as the bridge between users and their data privacy on the blockchain. The increasing number of dApps validates their usefulness within the blockchain ecosystem, solving challenges like executing transactions between two participants without the need for central authority via smart contracts.

Suppose you have no prior experience building decentralized applications (dApps). In that case, the below-mentioned resources will give you a head start on the tools required to build, debug, and deploy dApps on the Ramestta Network.

Full Stack dApp: Tutorial Series Web3.js Ethers.js thirdweb Remix Truffle Metamask Arkane Develop a dApp using Fauna, Ramestta, and React

Last updated