Giter Site home page Giter Site logo

pancakeswapfork's People

Contributors

kelvinthai avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

pancakeswapfork's Issues

Error HH8: There's one or more errors in your config file: * Invalid account: #0 for network: bsctest - Expected string, received undefined * Invalid account: #0 for network: bsc - Expected string, received undefined To learn more about Hardhat's configuration, please go to https://hardhat.org/config/

when i try to compile i get this error this is what my hardhat config looks like

require("@nomiclabs/hardhat-waffle");
require('dotenv').config();
require('@nomiclabs/hardhat-etherscan');


// This is a sample Hardhat task. To learn how to create your own go to
// https://hardhat.org/guides/create-task.html
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
  const accounts = await hre.ethers.getSigners();

  for (const account of accounts) {
    console.log(account.address);
  }
});

// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more

/**
 * @type import('hardhat/config').HardhatUserConfig
 */
module.exports ={

  solidity: "0.6.12",
  networks: {
    dev: {
        url: "http://localhost:7545",
        gasPrice: 20,
        saveDeployments: true
    },
    bsctest: {
        url: "https://data-seed-prebsc-2-s2.binance.org:8545/",
        accounts: process.env.PRIV_KEY,
        gasPrice: 10000000000,
        blockGasLimit: 1000000
    },
    bsc: {
        url: "https://bsc-dataseed1.binance.org/",
        accounts: process.env.PRIV_KEY,
        gasPrice: 5100000000,
        blockGasLimit: 1000000
    }
},
etherscan:{
  apiKey:process.env.API_KEY
 }
};

How add another chain?

Hi
Thanks for video, I successfully cloned Pancakeswap and ran it.
Also I was need add Arbitrum chain because my own token was created there.
I added it to swap page but couldn't add liquidity.
Can you show please how correctly add new chain to Pancake frontend?

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.