XDC Network : Upgrade to XDPoS 2.0 : What's in it for us-(Developers)?
Introducing XDPoS 2.0, the future of decentralized consensus on the XDC Network! This next-gen engine, built on the cutting-edge BFT consensus protocol, promises military-grade security and blazing performance while being ultra-resource-efficient. Plus, it's fully backward-compatible with existing APIs.
Dive deeper into the details: https://arxiv.org/pdf/2108.01420.pdf
Recently, XDC upgraded their network to 2.0 and the outcome of it is quite exciting!. As a blockchain developer and architect of Plugin(Decentralized Oracle network), I have been developing apps on XDC Network for the last 3 years and the enhancements they have made were very great. With the latest developments, performance and gas predictability is greatly increased.
Let's see what has been accomplished, and break it down to understand this in simple way.
Efficient Gas Fee Structure: The proposed adjustments aim to refine the gas fee structure, ensuring a more predictable and manageable cost for transactions within the XDC Network. This refinement is anticipated to offer users a more user-friendly and stable fee experience.
Balancing Supply and Demand: Based on network activity or congestion, it auto adjusts the transaction fee thus providing efficient gas usage and speed in transaction finality.
Sustainability and Network Optimization: The ultimate goal of this proposal is to enhance the sustainability and efficiency of the XDC Network. By providing a more structured and sustainable approach to gas fees, the network is poised to offer a more scalable, user-friendly, and cost-effective environment for its users and developers.
User-Centric Approach: It provides a more predictable gas structure, thus customers can make insightful decisions about their app's development and post-go-live transaction cost to their users.
Now we understand, what has been done but when it comes to implementation or development on any blockchain, we always stuck and give up just like that. When you are a blockchain developer or an Enthusiast? then you know how hard it is to evaluate which web3 packages/libraries is better to use to build an application. Though we have ethers, xdc3/web3 libraries, it is always a cumbersome process for a beginner when they want to try out and bring their idea into realities.
To address all these issues!, The "Plugin" team is bringing you a npm package "react-solidity-xdc3" and detailed implementation steps. A one-stop package, which takes care of connecting your client application to a smart contract in just a few lines.
Using this package, you can write data, query data, query events, convert price to wei, wei to price, XDCPay wallet integration & many more.
Installation Steps
- npm install react-solidity-xdc3
- README has the details - https://www.npmjs.com/package/react-solidity-xdc3
How it works?
- Try this https://github.com/GoPlugin/dapp-react-solidity-xdc3 implementation sample
- Go through README.Md file for step-by-step instructions on how to setup dapp using react-solidity-xdc3
Image credits: xdc_community