Skip to content

yomi-digital/mego-tickets-zksync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEGO Tickets x zkSync

This contract is the official MEGO tickets (https://mego.cx) contract to issue NFT tickets. You need some ETH on zkSync testnet era to proceed with deployment, follow official docs for detailed instructions: https://era.zksync.io/docs.

Prepare the environment

Create a .env file and insert a private key that contains some bridged gETH:

DEPLOYER_KEY=<YOUR_KEY>

Compile contract

yarn compile

Deploy contract

yarn deploy

This will return something like:

Running deploy script..
MegoTicketsPublic was deployed to 0x9b2aA2C91EAFD4e5Caf0381338144591CAD264f2

Verify contract

yarn hardhat verify --network zkTestnet <YOUR_CONTRACT_ADDRESS_HERE> "MEGO TICKETS" "MTK"

You can now see the deployment here and interact with it via browser: https://goerli.explorer.zksync.io/address/0x9b2aA2C91EAFD4e5Caf0381338144591CAD264f2

About

Official MEGO Tickets support for zkSync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published