@xw3/maki-ts
    Preparing search index...

    @xw3/maki-ts

    Xircus Maki Typescript

    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:

    • Unified SDK: Includes a powerful SDK written in Typescript for seamless interaction with both TON and Telegram.
    • TON Wallet Integration: Simplifies the implementation of TON wallets within your Mini Apps.
    • Telegram WebApp SDK: Fully implements the Telegram WebApp SDK, giving you access to its complete feature set.

    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:

    • Follow @xircusweb3 on Twitter for project updates
    • Share your project using @xircusweb3
    • Join our channels for new updates @xircus
    • Join the discussions on Github xircusweb3
    • Browse the awesome-xircus list of awesome projects and resources
    • Handcrafted by Xircus Developers
    • Built by Developers for Developers