Cairo1JS

DAPP to test Cairo 1 smart-contract on Starknet - powered by starknet.js

MIT License

Stars
7

Cairo1JS

[!IMPORTANT] Stars are appreciated!

Presentation

This small project demonstrates how to create a DAPP to interact with the Starknet blockchain. You can interact easily with Cairo 1 smart-contract, using your Argent-X or Braavos wallets (installed in your desktop or mobile browser). The communication with the wallet can be made only with Wallets compatible with the new Wallet API.

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 & Chaka-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://cairo1-js.vercel.app/.

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