Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 542 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 542 Bytes

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