ppenter / fontpad

IDO launchpad platform
7 stars 8 forks source link

Change network to undefined #2

Open lordmen99 opened 2 years ago

lordmen99 commented 2 years ago

I have success deploy on mumbai matic, but when click connect show "Change network to undefined".

its seem from web3modal i think

ppenter commented 2 years ago

In .env file set REACT_APP_networkID=80001

lordmen99 commented 2 years ago

I have ade that code. Issue I think not come from that, maybe its just connecting to web3

lordmen99 commented 2 years ago

i still get blank,after create demo launchpad ido token. in smartcontract working entering data, but in frontend still blank

ppenter commented 2 years ago

Just update .env.example file. Please, try to run by "yarn start:development" and use localhost chain

lordmen99 commented 2 years ago

still error when create launchpad, here is error

× Unhandled Rejection (Error): while converting number to string, invalid number value '', should be a number matching (^-?[0-9.]+). ▼ 4 stack frames were expanded. numberToString node_modules/ethjs-unit/lib/index.js:61 toWei node_modules/ethjs-unit/lib/index.js:114 toWei node_modules/web3-utils/lib/index.js:250 createIDO src/components/Form/Publish/Step/preview.js:107 ▲ 4 stack frames were expanded.

ppenter commented 2 years ago

Just fixed. Try again please.

ppenter commented 2 years ago

I remove add liquidity after sale ended because there some bug I will fixed it late.