starknet-paymaster-SNIP-29

December 10, 2025 ยท View on GitHub

Starknet demo DAPP of paymaster SNIP-29 fee payment

Important

Stars are appreciated!

Presentation

This small project demonstrates how to create a DAPP to use SNIP-29 paymaster.
It allows you to use several tokens to pay the Starknet fees: STRK, ETH, USDC, SWAY.

Note

For example, if you have some USDC and no STRK in your wallet, you can anyway proceed a transfer, using some of these USDC to pay the fees.

Use an account in Sepolia Testnet network.

Important

In this demo, you need at least 0.1 USDC in your account to be able to execute a transfer.
To get USDC in testnet, one way is to use the faucet of Circle: https://faucet.circle.com/

Analyze the code to see how to create a such DAPP (start here)

The DAPP is made in the Next.js framework. Coded in Typescript. Using React, Zustand context & Chakra-ui components.

Getting Started ๐Ÿš€

Run the development server:

npm i
npm run dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel ๐ŸŽŠ

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out the Next.js deployment documentation for more details.

You can test this DAPP ; it's already deployed at https://xxx.vercel.app/.

If you fork this repo, you need a Vercel account. You can configure your own environment variables for the Server side :