Coder Social home page Coder Social logo

greeter's Introduction

Специально для канала Крипторелакс https://www.youtube.com/@Crypto-Relax

Наш телеграм : https://t.me/CRYPTORELAKS

Действия :

  1. Скачаиваем ( если нет ) Visual Studio Code : https://code.visualstudio.com/
  2. Добваляем в VSC нужные расширения ( Solidity, npm Intellisense ), если по ходу работы в VSC выдает ошибки и всплывает окно в нижнем правом углу с предложением скачать пакеты - соглашаемся ( у всех может быть по-разному ), чего будет не хватать из пакетов ( yarn, node.js и тд ) устанавливаем вручную ( гайдов полно в интернете )
  3. Добавляем ссылку с этого репозитория в VSC : https://github.com/sevRipen/Greeter
  4. Подготавливаем метамаск : добавляем сеть ZkSync Era Testnet через https://chainlist.org/?testnets=true&search=zksync+era+testnet или вручную
  5. Запрашиваем тестовые Goerli на https://goerlifaucet.com/
  6. Отправляем Goerli ETH на ZkSync Era Testnet через мост https://portal.zksync.io/bridge (внизу справа проверяем чтобы стояла ZkSync Era Goerli
  7. Переходим обратно в VSC и в терминале пишем команду : yarn init -y или npm init -y
  8. Затем вводим : sudo npm i -D typescript ts-node ethers@^5.7.2 zksync-web3@^0.13.1 hardhat @matterlabs/hardhat-zksync-solc @matterlabs/hardhat-zksync-deploy
  9. Далее : yarn hardhat compile или npx hardhat compile
  10. В deploy.ts вставляем свой приватный ключ от метамаска
  11. И последняя команда : yarn hardhat deploy-zksync или npx hardhat deploy-zksync и ждем окончания деплоя контракта
  12. Верефицируем контракт
  13. Взаимодействуем со смартконтрактом

greeter's People

Contributors

sevripen avatar aliash-zh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.