Built by Xircus, Maki Typescript provides a rich and comprehensive set of libraries specifically designed for developing Mini Apps on both the TON blockchain and the Telegram platform.
Key Features:
Dive deeper into the capabilities of Maki Typescript with our comprehensive documentation and illustrative examples available at: Xircus Maki Typescript Docs
Get started quickly by installing the package using your preferred package manager:
npm i @xw3/maki-ts
or
yarn add @xw3/maki-ts
The following snippet demonstrates a basic setup within a Next.js application using React and Chakra UI:
import { Provider } from "@/components/ui/provider";
import { MakiProvider, useInitGram } from "@xw3/maki-ts";
import type { AppProps } from "next/app";
import Script from "next/script";
export default function App({ Component, pageProps }: AppProps) {
const { gram, onReady } = useInitGram()
return (
<MakiProvider gram={gram}>
<Script src="https://telegram.org/js/telegram-web-app.js" id="telegram" onReady={onReady} />
<Provider>
<Component {...pageProps} />
</Provider>
</MakiProvider>
)
}
Check out our following places for more xircus-related content: