This project demonstrates a basic Hardhat use case on Taiko A1 testnet. It comes with a sample counter contract, a test for that contract, and a script that deploys that contract. A simple dApp that interacts with the contract is available in the dApp folder.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat run scripts/deploy.ts --network taikoa1
Я создал и развернул очень простое dApp, работающее на Taiko A1. Это счетчик, который вы можете читать и писать. Обновления в режиме реального времени😂
Создано с помощью: Hardhat ( https://hardhat.org/ ) Nextjs ( https://nextjs.org/ ) Wagmi ( https://wagmi.sh/ ) Web3modal ( https://github.com/WalletConnect/web3modal )
Контракт развернут на Taiko A1 https://l2explorer.a1.taiko.xyz/address/0x7feda58f21D6b795fDedfF244DBAf0C1050B5F29 . Код проверен в проводнике, вы можете взаимодействовать с ним там
. Приложение развернуто по адресу https://simple-taiko-counter.vercel. app/
Источник доступен по адресу https://github.com/leppaludi/simple-taiko-counter
. Примечание. Если вы собираетесь подключиться к сайту, используйте только тестовые/записывающие учетные записи и всегда читайте то, что подписываете.