loophe / yokaiswap-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YokaiSwap Core

Local Development

The following assumes the use of node@>=14.

Install Dependencies

yarn

Compile Contracts

yarn compile

Deployment

First, create a .env file, remember to replace placeholders with real value.

cat > .env <<EOF
DEPLOYER_PRIVATE_KEY=< replace with your private key >
RPC_URL=< polyjuice web3 rpc >
NETWORK_SUFFIX=< gw-testnet or gw-mainnet >

ROLLUP_TYPE_HASH=< replace with godwoken rollup type hash >
ETH_ACCOUNT_LOCK_CODE_HASH=< replace with godwoken eth-account-lock code hash >
EOF

Then compile and deploy.

yarn compile
yarn deploy

forked from pancakeswap/pancake-swap-core

About

License:GNU General Public License v3.0


Languages

Language:Solidity 72.9%Language:TypeScript 25.4%Language:Shell 0.9%Language:JavaScript 0.8%