onchain-magic
TypeScript icon, indicating that this package has built-in type declarations

0.5.12 • Public • Published

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

Package Sidebar

Install

npm i onchain-magic

Weekly Downloads

6

Version

0.5.12

License

MIT

Unpacked Size

525 kB

Total Files

43

Last publish

Collaborators

  • sweetman.eth