onchain-magic
v0.5.12
Published
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Downloads
87
Maintainers
Readme
Getting Started with OnchainMagic 🪄
Getting started
- Documentation can be found here: docs.onchainmagic.xyz
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