-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Update zora contract #12
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
console.error('Transaction error:', err); | ||
}; | ||
|
||
const handleSuccess = (response: any) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to export TransactionResponse
from onchainkit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import type { Address, ContractFunctionParameters } from 'viem'; | ||
import { parseEther } from 'viem'; | ||
|
||
const BASE_SEPOLIA_CHAIN_ID = 84532; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's move this to constant file
const tokenId = '1'; | ||
const quantity = '1'; | ||
const mintReferral = '0x0000000000000000000000000000000000000000'; | ||
const comment = 'testing'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, let's use more polish constant.
What changed? Why?
Notes to reviewers
How has it been tested?