JSPM

  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q80119F
  • License MIT

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

Package Exports

  • onchain-magic
  • onchain-magic/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (onchain-magic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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