kelvinthai / pancakeswapfork Goto Github PK
View Code? Open in Web Editor NEWThis is the repo for my PancakeSwap fork on youtube
This is the repo for my PancakeSwap fork on youtube
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
}
};
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?
can please recomit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.