Giter Site home page Giter Site logo

hardhat-v3-deploy's People

Contributors

omarish avatar zzmp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hardhat-v3-deploy's Issues

Integration for Dapp.Tools

you can use this deployer plugin with dapptools, just up the testnet on dapptools with dapp testnet, save the RPC URL as network config in hardhat.config file then, in a new terminal run npx hardhat deploy-uniswap --network [NETWORK-NAME]

How to configure the INIT_CODE_HASH for uniswap V3 plugin

Description

I integrated the uniswap V3 plugin in order to mock the dex contracts which works smoothly. However, whenever I try to make a function call like createPool() I get an error like undefined. Some uniswap devs told me I need to hard code the init code hash based on this stackoverflow thread. That's great accept the uniswap contracts are not hardcoded into my project since I just imported them as an npm package from Hardhat. If anyone has any suggestions, please let me know.

Error: invalid bytecode (argument="bytecode", value="0x60c0604052...")

Hi
I'm getting following error when I'm trying deploy the contracts.

 at Logger.makeError (/Users/amin/Development/uniswapv3-develop/node_modules/@ethersproject/logger/src.ts/index.ts:225:28)
    at Logger.throwError (/Users/amin/Development/uniswapv3-develop/node_modules/@ethersproject/logger/src.ts/index.ts:237:20)
    at Logger.throwArgumentError (/Users/amin/Development/uniswapv3-develop/node_modules/@ethersproject/logger/src.ts/index.ts:241:21)
    at new ContractFactory (/Users/amin/Development/uniswapv3-develop/node_modules/@ethersproject/contracts/src.ts/index.ts:1162:20)
    at UniswapV3Deployer.deployContract (/Users/amin/Development/uniswapv3-develop/node_modules/uniswap-v3-deploy-plugin/src/deployer/UniswapV3Deployer.ts:139:21)
    at UniswapV3Deployer.deployPositionDescriptor (/Users/amin/Development/uniswapv3-develop/node_modules/uniswap-v3-deploy-plugin/src/deployer/UniswapV3Deployer.ts:112:24)
    at Function.deploy (/Users/amin/Development/uniswapv3-develop/node_modules/uniswap-v3-deploy-plugin/src/deployer/UniswapV3Deployer.ts:27:47)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at runNextTicks (node:internal/process/task_queues:65:3)
    at listOnTimeout (node:internal/timers:526:9) {
  reason: 'invalid bytecode',
  code: 'INVALID_ARGUMENT',
  argument: 'bytecode',

Thanks

Creating Sample Pools and positions

It would be great to complement this with the ability to setup some Pools, initialize them, and create positions (add liquidity) so they provide a ready-to-use instance of populated Pools for other protocols to develop on top.

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.