Skip to content

update nodereal RPC #624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/bnb-opbnb/advanced/full-stack-dapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ opBNB is essentially an optimized layer-2 solution that delivers lower fees and
For this tutorial, we will deploy a simple `HelloWorld` smart contract on the opBNB network and build a frontend using Reactjs to interact with the deployed smart contract for reading and writing data onto the opBNB blockchain.
The `HelloWorld` smart contract is a simple string variable message that will be used for storing the user-defined messages, e.g., `Hello, opBNB User`. The `updateMessage` function will be used for updating the message variable to any user-defined string value.

This smart contract will then be deployed on the opBNB network using [Truffle IDE](https://trufflesuite.com/). We will then use the [Reactjs boilerplate](https://create-react-app.dev/) to build a front end to communicate with the smart contract. [Web3.js library](https://web3js.readthedocs.io/en/v1.10.0/#) is used for interacting with the smart contract and reading and writing data to the opBNB blockchain. We further use [Metamask](https://metamask.io/) for signing transactions and paying any gas costs.
This smart contract will then be deployed on the opBNB network using [Truffle IDE](https://trufflesuite.com/). We will then use the [Reactjs boilerplate](https://create-react-app.dev/) to build a front end to communicate with the smart contract. [Web3.js library](https://web3js.readthedocs.io/en/v1.10.0/#) is used for interacting with the smart contract and reading and writing data to the opBNB blockchain. We further use [TrustWallet](https://trustwallet.com/) or [Metamask](https://metamask.io/) for signing transactions and paying any gas costs.

*This is a basic example for educational purposes, and it assumes familiarity with [Truffle](https://trufflesuite.com/), [React](https://react.dev/), and [MetaMask](https://metamask.io/).*
*This is a basic example for educational purposes, and it assumes familiarity with [Truffle](https://trufflesuite.com/), [React](https://react.dev/), [TrustWallet](https://trustwallet.com/), and [MetaMask](https://metamask.io/).*

## Learning Takeaways

Expand All @@ -28,10 +28,11 @@ By the end of this tutorial, you will be able to achieve the following
## Pre-requisites

- [Node.js (Node v18.14.2)](https://nodejs.org/en/download/)
- [TrustWallet](https://trustwallet.com/)
- [Metamask Web Wallet](https://metamask.io/)
- [Truffle v5.10.0](https://trufflesuite.com/docs/truffle/how-to/install/)
- Get tBNB in your Metamask wallet configured with opBNB Testnet
- [Metamask Wallet Configuration for opBNB.](../get-started/wallet-configuration.md)
- Get tBNB in your wallet configured with opBNB Testnet
- [Wallet Configuration for opBNB.](../get-started/wallet-configuration.md)
- [Deposit tBNB to your opBNB account](../get-started/deposit-to-opbnb.md)

## Demo Step-by-Step Guide
Expand Down
2 changes: 1 addition & 1 deletion docs/bnb-opbnb/developers/cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Configure multiple L1 RPC endpoints for op-node setups on L2 solutions like opBN
For example:
```bash
export L1_RPC1=https://bsc-dataseed.bnbchain.org
export L1_RPC2=https://bsc.nodereal.io
export L1_RPC2=https://bsc-dataseed2.bnbchain.org
--l1=rpc1,rpc2…
```
Optimize L1 receipt retrieval performance
Expand Down
4 changes: 0 additions & 4 deletions docs/bnb-opbnb/faq/build-on-opbnb-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ With the [API key](https://nodereal.io/meganode) and smart contract address, you
If the deployed contract is a proxy contract, then the info. will not be displayed as opBNBscan uses enhanced API to fetch the token details like name, symbol etc. In this case, enhanced API needs to call the implementation contract to fetch the token details.
Currently, this feature is under development where enhanced API will make call to implementation contract when token info. returned from proxy contract is empty.

### What are the third-party provider services where we can purchase private RPC access?

You can purchase private RPC access from [Nodereal](https://nodereal.io/meganode).

### Are there any grants or financial support for projects on opBNB?

Yes, we provide the same support for opBNB as for BNB Smart Chain when it comes to grants or financing projects. Check [here](https://www.bnbchain.org/en/developers/developer-programs) for the complete details.
Expand Down
4 changes: 0 additions & 4 deletions docs/bnb-opbnb/get-started/network-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,11 @@ You can use either public and private RPC endpoints to access opBNB.
### Public Testnet RPC Endpoints(WSS is supported)

- https://opbnb-testnet-rpc.bnbchain.org/
- https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3
- https://opbnb-testnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5
- https://opbnb-testnet.publicnode.com

### Public Mainnet RPC Endpoints(WSS is supported)

- https://opbnb-mainnet-rpc.bnbchain.org
- https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3
- https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5
- https://opbnb.publicnode.com

### Private opBNB RPC Endpoints
Expand Down
2 changes: 1 addition & 1 deletion docs/bnb-opbnb/get-started/wallet-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To configure your wallet to work with opBNB, you will need to add both the BNB s
*Mainnet*

- Network Name: BSC Mainnet
- RPC URL: [https://bsc.nodereal.io](https://bsc.nodereal.io)
- RPC URL: [https://bsc-dataseed.bnbchain.org](https://bsc-dataseed.bnbchain.org)
- ChainID: 56
- Symbol: BNB
- Explorer: [https://bscscan.com/](https://bscscan.com/)
Expand Down
2 changes: 1 addition & 1 deletion docs/bnb-smart-chain/developers/wallet-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can use any Ethereum wallet with BSC. For instance, I will show you how to s
*Mainnet*

- Network Name: BSC Mainnet
- RPC URL: [https://bsc.nodereal.io](https://bsc.nodereal.io)
- RPC URL: [https://bsc-dataseed.bnbchain.org](https://bsc-dataseed.bnbchain.org)
- ChainID: 56
- Symbol: BNB
- Explorer: [https://bscscan.com/](https://bscscan.com/)
Expand Down
2 changes: 1 addition & 1 deletion docs/bnb-smart-chain/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BNB Smart Chain (BSC) is a high-performance blockchain network. Officially launc
### Key Features and Advantages

1. **Ethereum Virtual Machine (EVM) Compatibility:**
BSC is fully compatible with the Ethereum Virtual Machine (EVM), enabling developers to port their Ethereum-based DApps and DeFi projects to BSC with minimal modifications. This compatibility extends to the use of popular Ethereum tools and applications, such as MetaMask, Truffle, and Remix.
BSC is fully compatible with the Ethereum Virtual Machine (EVM), enabling developers to port their Ethereum-based DApps and DeFi projects to BSC with minimal modifications. This compatibility extends to the use of popular Ethereum tools and applications, such as TrustWallet, MetaMask, Truffle, and Remix.

2. **Low Transaction Fees and Fast Block Times:**
One of BSC's primary advantages is its low transaction fees. As of early 2024, the average transaction fee on BSC is around $0.10, significantly lower compared to Ethereum's average fee of $10-$20 during periods of high network congestion. Additionally, BSC block time of approximately is 3 seconds, ensuring rapid transaction confirmations and an overall smoother user experience.
Expand Down
4 changes: 2 additions & 2 deletions docs/bnb-smart-chain/validator/run-val.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ There is a javascript in BSC repo to dump the slash status of each validator.
```
cd <bsc>/cmd/jsutils
# 1.To dump the slashes of the lates block:
node getslashcount.js --Rpc https://bsc-mainnet.nodereal.io/v1/454e504917db4f82b756bd0cf6317dce
node getslashcount.js --Rpc https://bsc-dataseed.bnbchain.org

# 2.You may also specify the block number:
node getslashcount.js --Rpc https://bsc-mainnet.nodereal.io/v1/454e504917db4f82b756bd0cf6317dce --Num 39938351
node getslashcount.js --Rpc https://bsc-dataseed.bnbchain.org --Num 39938351
```
If your validator operates smoothly, you should expect minimal or even no penalties, known as "slashes," on a daily basis. Generally speaking, if your validator incurs more than three slashes within a single day, it would be prudent to investigate the cause for this anomaly.

Expand Down
6 changes: 3 additions & 3 deletions docs/showcase/tokenization/company-tokenization.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Once you have confirmed that all details are correct and finalized, press 'Confi

![](./company-tokenization-tutorial/Company Tokenization Tutorial 222.007.png)

This is the final step. You can review all the information one last time before submitting, after you have made sure that everything is perfect, or you can go back to the previous step to make any changes. Click “Approve” and "Confirm" on Metamask. After that, click "Submit".
This is the final step. You can review all the information one last time before submitting, after you have made sure that everything is perfect, or you can go back to the previous step to make any changes. Click “Approve” and "Confirm". After that, click "Submit".

##### Step 5: Check Your Presale Status

Expand Down Expand Up @@ -683,7 +683,7 @@ You should ask your community members to give you their wallet address beforehan

![](./company-tokenization-tutorial/Company Tokenization Tutorial 4.005.png)

Click on “Add Allocations” when you are done inputting the addresses. MetaMask will now ask you to confirm the transaction. It will also show you the fee that you are required to pay for that transaction. If you agree, then click on the “Confirm” button to finish the process.
Click on “Add Allocations” when you are done inputting the addresses. The wallet will now ask you to confirm the transaction. It will also show you the fee that you are required to pay for that transaction. If you agree, then click on the “Confirm” button to finish the process.

After successfully adding airdrop allocations, those allocations will be shown on the airdrop page.

Expand All @@ -699,7 +699,7 @@ After clicking on “Set Vesting”, you will see a pop-up box. Below are some i

![](./company-tokenization-tutorial/Company Tokenization Tutorial 4.006.png)

Click on “Set Vesting” when you are done inputting the numbers, then MetaMask will now ask you to confirm the transaction. It will also show you the fee that you are required to pay for that transaction. If you agree, then click on the “Confirm” button to finish the process.
Click on “Set Vesting” when you are done inputting the numbers, then wallet will now ask you to confirm the transaction. It will also show you the fee that you are required to pay for that transaction. If you agree, then click on the “Confirm” button to finish the process.

##### Step 5: Start Airdrop

Expand Down
4 changes: 2 additions & 2 deletions docs/showcase/tokenization/nft-loyalty-programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ We suggest these two service providers since they provide one-stop service with
1) **Connect your Wallet**

Open NFTs2Me and select the “Connect Wallet” option.
Choose your wallet (e.g., MetaMask). The system will ask you to sign a message to verify account ownership.
Choose your wallet (e.g.,Turstwallet/MetaMask). The system will ask you to sign a message to verify account ownership.

![](./nft-loyalty-programs-tutorial/nfts2me09.jpg)

Expand Down Expand Up @@ -94,7 +94,7 @@ Once the process is complete, a modal window will display all the information ab
1) **Connect your Wallet**

Open Bitbond Token Tool and select the “Connect Wallet” option.
Choose your wallet (e.g., MetaMask). The system will ask you to sign a message to verify account ownership.
Choose your wallet (e.g., TrustWallet/MetaMask). The system will ask you to sign a message to verify account ownership.

![](./nft-loyalty-programs-tutorial/Create NFT 2.png)

Expand Down