Now It’s Easier Than Ever To Build DApps and Games on Astar Network, with thirdweb

We are thrilled to announce the integration of Astar Network with thirdweb, an all-encompassing web3 development framework that delivers everything developers need to connect dApps and games to Astar, and create seamless user experiences.

The Power of thirdweb

Thirdweb offers a complete set of development tools that cater to various platforms and programming languages, including React, TypeScript, Python, Go, and Unity. This integration makes thirdweb’s powerful suite of tools accessible to applications and games deployed on Astar network.

The latest version of Node.js, a basic understanding of React, and an Astar network wallet are the prerequisites needed to harness the capabilities of thirdweb.

Getting Started With thirdweb

Getting started with thirdweb on Astar is easy. To create a new app pre-configured with thirdweb’s SDKs, you can use the thirdweb Dashboard or simply run the following command and choose your preferred configuration:

npx thirdweb create app --evm


If you have an existing project and want to install thirdweb, you can initiate it through this command:

npx thirdweb install


To kickstart use of the SDK on Astar, wrap your application within the ThirdwebProvider component and modify the activeChain so it points to Astar network. If you’re using React, your code might look something like this:

import { Astar } from "@thirdweb-dev/chains";
import { ThirdwebProvider, useContract } from "@thirdweb-dev/react";

function App() {
  return (
    <ThirdwebProvider 
      activeChain={ Astar } 
      clientId="YOUR_CLIENT_ID" // You can get a client id from dashboard settings
    >
      {/* the rest of your app goes here */}
    </ThirdwebProvider>
  )
}

This sets up the thirdweb SDK on Astar Network, allowing your app to interact with smart contracts deployed there.

For more information about the full React SDK, check out the thirdweb official documentation, and to read thirdweb’s guide for deploying smart contracts on Astar check out the link here. Or alternatively,you can start building right away by visiting the Astar Network Official Docs.

The Advantages of Building with thirdweb

The integration of Astar network with thirdweb paves the way for developers to build fully featured dApps and games supported by a resilient and robust infrastructure. This integration enhances Astar network with thirdweb’s powerful services, such as a Storage service for uploading and downloading data to decentralized storage, and a Bundler & Paymaster service for use with Smart Wallets (ERC-4337/6551).

At the heart of this integration is the shared vision of simplifying web3 development and taking it to the next level. The combination of a smart contract platform that supports both EVM and Wasm with thirdweb’s extensive toolkit promises unprecedented power and flexibility for Astar developers.

In summary, the integration with thirdweb extends the capabilities of developers building on Astar Network, enhancing their ability to create full-featured dApps with more resilient, reliable, and robust infrastructures enabled by thirdweb. This marks another step forward in our commitment to supporting our developer community and fostering growth of Astar Network.


About Astar Network

Astar is Japan’s most popular smart contract blockchain, supporting both EVM and WebAssembly (Wasm) environments, and interoperability between them using a Cross-Virtual Machine. Backed by the shared security of Polkadot, Astar shines brilliantly on its own within a vibrant and healthy ecosystem, and is a leading star in the blockchain industry overall, driving international corporate adoption, and consumer interest in web3 technologies.

Astar’s Build2Earn program is designed to grow the network in an innovative way, while simultaneously rewarding participants and builders. It allows developers to earn incentives for building and maintaining their decentralized applications, and users to earn incentives for supporting their favorite projects, all while encouraging growth of the ecosystem overall.

Website | Twitter | Discord | Telegram | GitHub | Reddit | YouTube

0
Megan SkyePost author

Marketing and Technical Content at Astar Network.

Astar Network provides the infrastructure for building dApps with EVM and WASM smart contracts offering developers true interoperability with cross-consensus messaging (XCM) and a cross-virtual machine (XVM). Astar’s unique Build2Earn model empowers developers to get paid through a dApp staking mechanism for the code they write and dApps they build.

0 comments

Astar Network provides the infrastructure for building dApps with EVM and WASM smart contracts offering developers... Show More