Skip to content

Commit

Permalink
Update dev-tools left nav categories
Browse files Browse the repository at this point in the history
  • Loading branch information
owans committed Nov 1, 2024
1 parent db29385 commit 3066150
Show file tree
Hide file tree
Showing 32 changed files with 494 additions and 242 deletions.
4 changes: 2 additions & 2 deletions docs/01-concepts/rif-suite/rns/specs/resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Resolvers MUST specify a fallback function that throws.

Resolvers must implement ERC-165 interface detection standard. supportsInterface method must return if the interfaceID queried is simply equal to the signature hash of the function that resolves the desired resource record.

Currently standardized resolver interfaces are specified below.
<!-- Currently standardized resolver interfaces are specified below.
> Check out [definitive resolver](/rif/rns/architecture/definitive-resolver) for implementation details.
> Check out [definitive resolver](/rif/rns/architecture/definitive-resolver) for implementation details. -->


### Contract address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Thus, the smart contract/dApp development skills that you’re used to will tran
### Tools

- [Hardhat](https://hardhat.org/docs) is an Ethereum development environment designed for professionals. It's primarily used in the development of smart contracts for the Ethereum blockchain.
Refer to the [Hardhat Overview](/dev-tools/environments/hardhat/) for an overview of how it's used on Rootstock.
Refer to the [Hardhat Guides](/dev-tools/dev-environments/hardhat/) for guides on how to use Hardhat on Rootstock.

- [Metamask](https://metamask.io/) is a browser extension cryptocurrency wallet or mobile app,
enabling users to interact with the Rootstock blockchain,
Expand Down
5 changes: 0 additions & 5 deletions docs/02-developers/05-smart-contracts/06-eas/_category_.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/02-developers/07-rpc-api/_category_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ position: 5
link:
type: generated-index
slug: /developers/rpc-api/
description: "RPC API services for interacting with Rootstock network."
description: RPC API services for interacting with Rootstock network.
25 changes: 25 additions & 0 deletions docs/05-dev-tools/account-abstraction/etherspot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
sidebar_position: 100
sidebar_label: Etherspot Prime SDK
title: Account Abstraction using Etherspot Prime SDK
description: "Create a seamless user experience for your dApps on Rootstock and EVM-compatible chains."
tags: [etherspot, account abstraction, developer tools, rsk, rootstock, ethereum, dApps, smart contracts]
---

Etherspot is an Account Abstraction infrastructure designed to help developers create a seamless web3 user experience for users interacting with their dApps.

Available on: <Shield label="mainnet" title="testnet" tooltip="Available on both Mainnet and Testnet" color="orange" />

## Features

Etherspot offers the following AA services:

* [Account abstraction Prime SDK](https://etherspot.fyi/prime-sdk/intro) — From social logins, sponsored transactions to transaction batching, using an Etherspot smart wallet can give your dApps a web2-like interface to improve the experience for users.
* [TransactionKit](https://etherspot.io/transactionkit) - A smart account React library for fast and simple web3 development.
* [Skandha Bundler](https://github.com/etherspot/skandha) - A modular, developer-friendly Typescript Bundler for Ethereum EIP-4337 Account Abstraction
* [Arka Paymaster](https://etherspot.fyi/arka/intro) - An open-source Paymaster service for gasless and sponsored transactions.

If you have any questions, do not hesitate to reach out to the team on [Discord](http://discord.gg/rootstock).

## Related Guides
* [Account Abstraction using Etherspot Prime SDK](/developers/quickstart/rootstock-etherspot/)
53 changes: 27 additions & 26 deletions docs/05-dev-tools/account-abstraction/index.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
---
sidebar_position: 3
sidebar_label: Account Abstraction
title: Account Abstraction
description: "How to get started with writing, deploying and testing smart contracts on Rootstock using Hardhat."
title: Account Abstraction on Rootstock
description: "Create smarter accounts that give users a seamless web3 experience"
tags: [hardhat, quick start, developer tools, rsk, rootstock, ethereum, dApps, smart contracts]
---

Account abstraction refers to the different ways to create and manage accounts, other than using a Secret Recovery Phrase and a wallet.

Account abstraction enables the creation of new types of accounts called “contract-type accounts” or simply “accounts”. These accounts can hold both code and ether, and they can execute transactions and smart contract functions. This means that contracts can directly control and manipulate funds, eliminating the need for a separate EOA to initiate transactions.
It enables the creation of new types of accounts called “contract-type accounts” or simply “accounts”. These accounts can hold both code and ether, and they can execute transactions and smart contract functions. This means that contracts can directly control and manipulate funds, eliminating the need for a separate EOA to initiate transactions.

Simply put;
Regular accounts hold your crypto and need your private key for transactions. Account abstraction lets you create smarter accounts like mini-apps that hold your crypto and can send transactions without needing your key every time.

## Benefits

Account abstraction brings several benefits to the Rootstock ecosystem:

Some benefits include:
- Enhanced efficiency: By allowing contracts to directly control funds, account abstraction reduces the number of transactions and storage operations required. This leads to improved efficiency and reduces gas costs.
- Improved privacy: Account abstraction enables the creation of more sophisticated smart contracts that can handle transactions privately within the contract itself. It eliminates the need for external transactions, enhancing privacy for users.
- Flexible fee payment models: With account abstraction, contracts can pay transaction fees on behalf of users. This allows for more flexible fee payment models, such as subscriptions or microtransactions, where users don’t need to have ether to execute transactions.
- Customized transaction semantics: Account abstraction opens up possibilities for customizing transaction semantics. Contracts can define their own rules and conditions for executing transactions, enabling more complex and dynamic interactions.

## Account Abstraction Solutions on Rootstock

## Etherspot

Etherspot is a top-notch Account Abstraction infrastructure designed to help developers create an unparalleled user experience for their blockchain protocols on Ethereum and EVM-compatible chains. Get started with [Account Abstraction on Rootstock using Etherspot Prime SDK](https://etherspot.fyi/prime-sdk/intro).

Currently available on:

<Tabs>
<TabItem value="mainnet" label="Mainnet" default>
YES
</TabItem>
<TabItem value="testnet" label="Testnet">
NO
</TabItem>
</Tabs>

## Gelato

The Rootstock network is innovating in the account abstraction space, here are solutions that can be used for building your dApps with account abstraction capabilities on Rootstock.

<br></br>

<CardsGrid>
<CardsGridItem
title="Etherspot Prime SDK"
subtitle="account abstraction"
color="green"
description="Etherspot is an Account Abstraction infrastructure designed to help developers create an unparalleled user experience for their blockchain protocols on Ethereum and EVM-compatible chains."
linkHref="/dev-tools/account-abstraction/etherspot/"
linkTitle="Build with Etherspot"
/>
<!-- <CardsGridItem
title="Gelato"
subtitle="account abstraction, mainnet"
color="green"
description="Smart Contract-Enabled Accounts on Rootstock."
linkHref="https://gelato.network/"
linkTitle="Build with Gelato"
/> -->
</CardsGrid>


44 changes: 37 additions & 7 deletions docs/05-dev-tools/additional-tools/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 12
sidebar_position: 13
sidebar_label: General Tools
title: General Tools
description: "How to get started with writing, deploying and testing smart contracts on Rootstock using Hardhat."
Expand All @@ -8,16 +8,46 @@ tags: [hardhat, quick start, developer tools, rsk, rootstock, ethereum, dApps, s

## Faucets

* [Rootstock Faucet](https://faucet.rootstock.io/)
* [Rootstock Faucet](https://faucet.rootstock.io/): Get free RBTC testnet tokens for development and testing.
* [RIF Testnet Faucet](https://faucet.rifos.org/): Obtain free RIF testnet tokens to explore the RIF ecosystem.

* [RIF Testnet Faucet](https://faucet.rifos.org/)
## Gas Fees
* [Rootstock Gas Station](https://rskgasstation.info/?AspxAutoDetectCookieSupport=1): Estimate gas fees for your transactions on the Rootstock network.

## Gas
## Exchanges - Getting RBTC

* [Rootstock Gas Station](https://rskgasstation.info/?AspxAutoDetectCookieSupport=1)
To acquire RBTC or RIF, you can use various methods:

## Exchanges
* Exchanges: Purchase RBTC or RIF on cryptocurrency exchanges that support them. See the [RBTC](https://rootstock.io/rbtc/) section to get started. To get RIF, see the [RIF Token](https://rif.technology/rif-token/) section.
* Bridges: Transfer your tokens from other blockchains to the Rootstock network using bridges.

You can get RBTC via exchanges and bridges. See the [RBTC](https://rootstock.io/rbtc/) section to get started. To get RIF, see the [RIF Token](https://rif.technology/rif-token/) section.
## Code Quality

To ensure the quality and security of your smart contracts, consider using these tools:

* Sourcify: Verify and document your Solidity contracts to enhance transparency and readability.
* Slither: Identify potential vulnerabilities and optimize your codebase for efficiency and security.

## dApp Testing

Effectively test your dApps with these tools:

* Cucumber: Write clear and concise test scenarios using Gherkin syntax. Get started using the [dApp automation with Cucumber and Playwright](/resources/tutorials/dapp-automation-cucumber)
* Playwright: Automate browser interactions to simulate real-world user behavior.
* Synpress: Specifically designed for dApp testing, seamlessly integrates with MetaMask and other wallets.

## Mining Tools

Interested in mining on the Rootstock network? Consider using these mining pools:

* [BraiinsPool](https://braiins.com/pool)
* [Luxor](https://luxor.tech/mining)
* [F2Pool](https://www.f2pool.com/)
* [ViaBTC](https://www.viabtc.com/)
* [Antpool](https://www.antpool.com/home)

:::info[Info]

If you're looking to set up your node for merged mining. See the [Node Operator](/node-operators/merged-mining/) section for more information.

:::
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 310
sidebar_position: 100
title: Ethereum Attestation Service
sidebar_label: Overview
sidebar_label: Ethereum Attestation Service
description: "Ethereum Attestation Service (EAS) is an open-source infrastructure public good for making attestations onchain or offchain. Learn how to use it on Rootstock."
tags: [rsk, rootstock, guides, EAS, Attestation, Ethereum]
---
Expand All @@ -10,6 +10,8 @@ tags: [rsk, rootstock, guides, EAS, Attestation, Ethereum]

EAS is a foundational layer that empowers anyone to make attestations about anything. By creating a decentralized ledger of verifiable claims, we can revolutionize traditional finance, build decentralized reputation systems, voting mechanisms, governance frameworks, social media platforms, supply chain tracking systems, knowledge graphs, and lots more.

Available on: <Shield label="mainnet" title="testnet" tooltip="Available on both Mainnet and Testnet" color="orange" />

## How EAS is integrated with Rootstock

The EAS essential contracts has been successfully deployed to Rootstock, this includes a robust indexer, and a user-friendly alternative explorer. The following sections will delve into the technical details of these implementations.
Expand Down Expand Up @@ -67,6 +69,6 @@ Find the deployed EAS contracts on Rootstock Mainnet and Tesnet:
- [EAS](https://attest.org/)
- [Core Concepts](https://docs.attest.org/docs/category/core-concepts)
- [How EAS Works](https://docs.attest.org/docs/core--concepts/how-eas-works)
- [Use Cases](https://docs.attest.org/docs/quick--start/use-cases-overview)]
- [Use Cases](https://docs.attest.org/docs/quick--start/use-cases-overview)
- [EAS Docs](https://docs.attest.org/docs/welcome)
- [EAS Github](https://github.com/ethereum-attestation-service)
40 changes: 40 additions & 0 deletions docs/05-dev-tools/attestations/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
sidebar_position: 11
sidebar_label: Attestations
title: Attestations on Rootstock
description: "An attestation is a digital certificate or proof that verifies a specific claim or fact. Learn about how to verify or attest documents, identity, asset ownership in your dApps using attestation tools on Rootstock."
tags: [attestation, eas, developer tools, rsk, rootstock, ethereum, dApps, smart contracts]
---

An attestation is a digital certificate or proof that verifies a specific claim or fact. It's like a digital stamp of approval, confirming something is true or has occurred.

## Real-world Examples

* Passport: A physical document attesting to a person's citizenship and right to travel internationally.
* University Degree: A certificate confirming academic achievement and qualifications.
* Driver's License: A legal document certifying the holder's ability to operate a motor vehicle.

## Web3 Attestations

In the web3 world, attestations are taking on a new dimension. They can be used to verify:

* Digital Identity: Proving one's identity without relying on centralized authorities.
* Asset Ownership: Confirming ownership of digital assets like NFTs or cryptocurrency.
* Credential Verification: Verifying skills, certifications, and work experience.

The Rootstock network is innovating in the attestation space, here are solutions that can be used for attesting documents or verifying identities within your dApps.

<br></br>

<CardsGrid>
<CardsGridItem
title="EAS"
subtitle="attestation"
color="green"
description="Ethereum Attestation Service (EAS) is an open-source infrastructure public good for making attestations onchain or offchain. Learn how to use it on Rootstock."
linkHref="/dev-tools/attestations/eas/"
linkTitle="Get Started"
/>
</CardsGrid>


21 changes: 0 additions & 21 deletions docs/05-dev-tools/code-quality/index.md

This file was deleted.

77 changes: 51 additions & 26 deletions docs/05-dev-tools/cross-chain-bridges/index.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,56 @@
---
sidebar_position: 5
sidebar_label: Cross Chain Bridges
title: Cross Chain Bridges
sidebar_label: Cross Chain
title: Cross Chain - Bridging between Blockchains
description: "How to get started with writing, deploying and testing smart contracts on Rootstock using Hardhat."
tags: [hardhat, quick start, developer tools, rsk, rootstock, ethereum, dApps, smart contracts]
tags: [cross chain, bridges, developer tools, rsk, rootstock, ethereum, dApps, smart contracts]
---

## Router Protocol

Router Protocol is a layer-1 blockchain enabling chain abstraction.

## Chainport

Chainport is a cross-chain bridge integrated with Rootstock.

## Wormhole

Wormhole provides access to all the information you need to develop secure multichain applications powered by Wormhole on Rootstock.

## Tokenbridge

Safely move your ERC20 tokens between Rootstock and Ethereum with the Tokenbridge dApp. This user-friendly interface lets you interact with the Token Bridge contracts directly. It is available on [Mainnet](https://dapp.tokenbridge.rootstock.io/) or [Testnet](https://dapp.testnet.bridges.rootstock.io/).

## PowPeg App

The [PowPeg App](https://powpeg.rootstock.io/) converts BTC to RBTC and vice versa. It is secured by the [PowPeg protocol](/concepts/powpeg/), which is a unique protocol that secures the locked bitcoins with the same Bitcoin hashrate that establishes consensus.

It is a web application that fosters the interaction between the bitcoin blockchain and the Rootstock network for easier exchange of BTC and RBTC. It also provides a way to visualize the status of transactions, communicate with a user wallet (both hardware wallets and software wallets), while also providing the highest possible level of security for transactions.

Get started with the [PowPeg App](/resources/guides/powpeg-app/)
Imagine different islands, each with its own unique economy and currency. To trade with each other, these islands need bridges to connect them. In the world of blockchain, these islands are different blockchains, and the bridges are cross-chain bridges.

## Why do we need cross-chain bridges?

* Seamless Asset Movement: Just like you can move money between different bank accounts, cross-chain bridges allow you to move your digital assets (like cryptocurrencies or NFTs) between different blockchains.
* Expanded Opportunities: By connecting different blockchains, you can access a wider range of financial services, decentralized applications (dApps), and investment opportunities.

## How do cross-chain bridges work?

* Lock and Mint: When you want to move assets from one blockchain (let's call it Chain A) to another (Chain B), the bridge locks your assets on Chain A and mints a corresponding amount of wrapped assets on Chain B.
* Transfer and Burn: You can then transfer these wrapped assets on Chain B. Once you're ready to move them back to Chain A, the bridge burns the wrapped assets on Chain B and releases your original assets on Chain A.

## Bridging Solutions on Rootstock

<CardsGrid>
<CardsGridItem
title="Token Bridge"
subtitle="cross-chain"
color="green"
description="Token Bridge dApp allow for easy movement your ERC-20 tokens (tokens on the Ethereum network) between Ethereum and Rootstock using the user-friendly Tokenbridge dApp."
linkHref="/resources/guides/tokenbridge/"
linkTitle="Start Bridging"
/>
<CardsGridItem
title="PowPeg App"
subtitle="cross-chain"
color="green"
description="Convert BTC to RBTC and vice versa. It is secured by the PowPeg protocol, which is a unique protocol that secures the locked bitcoins with the same Bitcoin hashrate that establishes consensus."
linkHref="/resources/guides/tokenbridge/"
linkTitle="Start Bridging"
/>
<CardsGridItem
title="Router Protocol"
subtitle="cross-chain"
color="green"
description="Router Protocol enables communication and interaction between different networks (Layer 1) regardless of their underlying technology."
linkHref="https://powpeg.rootstock.io/"
linkTitle="Start Bridging"
/>
<CardsGridItem
title="Wormhole"
subtitle="cross-chain"
color="green"
description="Wormhole provides developers with all the resources and tools they need to create dApps that leverage the power of multiple blockchains, including Rootstock."
linkHref="https://wormhole.com/docs/build/start-building/supported-networks/evm/#rootstock"
linkTitle="Start Bridging"
/>
</CardsGrid>
Loading

0 comments on commit 3066150

Please sign in to comment.