Skip to content

SweetmanTech/onchain-magic-npm

Repository files navigation

Getting Started with OnchainMagic 🪄

Getting started

npm install onchain-magic
# or
yarn add onchain-magic
import { useCreate1155Contract } from 'onchain-magic';

const MyComponent = () => {
    const { createContract } = useCreate1155Contract()

    const handleClick = () => {
        createContract()
    }

    return(
        <button onClick={handleClick}>Deploy on Zora</button>
    )
}

export default MyComponent

Releases

No releases published

Packages

No packages published