Developer Resources

Documentation

Comprehensive guides, tutorials, and API references to help you build on Wonder.

Explore Docs

Developer Grants

Funding opportunities for developers building innovative applications on Wonder.

Apply for Grants

Start Building Today

Deploy your first smart contract on Wonder in minutes with our quickstart guide.

Quickstart Guide
# Install Wonder SDK
npm install @wonderchain/sdk zksync-ethers

Setup Tutorial at Futurist

Watch this comprehensive guide on how to set up the Wonder codebase and start building your first application. Presented by Kartik, Head of WonderFi Labs.

Development Tools

JavaScript SDK
Build web applications and Node.js services with our JavaScript SDK.
// Install the SDK
npm install @wonderchain/sdk zksync-ethers

// Initialize the client
import { Configuration, NetworkApi } from "@wonderchain/sdk";

const apiHost = 'https://api.wonderchain.org';

const config = new Configuration({
    basePath: apiHost,
});
const networkApi = new NetworkApi(config);

// Send a transaction
const value = '0x';
const data = '0x';
const paymasterParams = await networkApi.paymasterParams(
    chainId,
    wallet.address,
    to,
    value,
    (await wallet.getNonce()).toString()
);

// broadcast the transaction
const tx = await wallet.sendTransaction({
    to,
    from: wallet.address,
    data,
    value,
    customData: {
        paymasterParams: utils.getPaymasterParams(paymasterParams.data.data.address, {
            type: "General",
            innerInput: paymasterParams.data.data.signature,
        }),
    }
});
const receipt = await tx.wait();
console.log(receipt);
View JavaScript Documentation