Skip to content
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

Merged
merged 14 commits into from
Aug 8, 2024
Merged

chore: Update zora contract #12

merged 14 commits into from
Aug 8, 2024

Conversation

abcrane123
Copy link
Contributor

@abcrane123 abcrane123 commented Aug 8, 2024

What changed? Why?

  • update zora contract

Notes to reviewers

How has it been tested?

Copy link

vercel bot commented Aug 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchain-app-template ✅ Ready (Inspect) Visit Preview 💬 1 unresolved Aug 8, 2024 6:28pm

@abcrane123 abcrane123 changed the title update contract chore: Update contract Aug 8, 2024
@abcrane123 abcrane123 changed the title chore: Update contract chore: Update zora contract Aug 8, 2024
@abcrane123 abcrane123 marked this pull request as ready for review August 8, 2024 15:44
@abcrane123 abcrane123 requested a review from Zizzamia August 8, 2024 15:44
console.error('Transaction error:', err);
};

const handleSuccess = (response: any) => {
Copy link
Contributor Author

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

Copy link
Contributor Author

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;
Copy link
Contributor

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';
Copy link
Contributor

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.

@Zizzamia Zizzamia merged commit 813287f into main Aug 8, 2024
7 of 8 checks passed
@Zizzamia Zizzamia deleted the alissa.crane/template-fix branch August 8, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants