Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production website and local instances failing #16

Open
fjcaetano opened this issue Dec 22, 2020 · 2 comments
Open

Production website and local instances failing #16

fjcaetano opened this issue Dec 22, 2020 · 2 comments

Comments

@fjcaetano
Copy link

The production website (https://crypto20.com/en/portal/withdraw/) is failing with an infinite loading screen. I've tried cloning the project and running it locally, but it's also failing with the following error.

WITHDRAWAL IS PROBABLY NOT WORKING

×
Unhandled Rejection (Error): CONNECTION ERROR: Couldn't connect to node http://localhost:8545.
▼ 4 stack frames were expanded.
InvalidConnection
node_modules/web3/lib/web3/errors.js:31
HttpProvider../node_modules/web3/lib/web3/httpprovider.js.HttpProvider.send
node_modules/web3/lib/web3/httpprovider.js:94
RequestManager../node_modules/web3/lib/web3/requestmanager.js.RequestManager.send
node_modules/web3/lib/web3/requestmanager.js:58
get [as network]
node_modules/web3/lib/web3/property.js:107
▲ 4 stack frames were expanded.
(anonymous function)
http://localhost:3000/static/js/bundle.js:196965:64
  196962 | web3RPC.eth.getAccounts(function (error, accounts) {
  196963 |   result.accounts = accounts;
  196964 | 
> 196965 |   var c20ContractAddress = parseInt(web3.version.network, 10) === 1 ? '0x26e75307fc0c021472feb8f727839531f112f317' : '0x2f412497f4ec98b22c7e886af252321b01e0447b';
         |                                                  ^  196966 | 
  196967 |   return regulator.at(c20ContractAddress).then(function (c20Instance) {
  196968 |     result.c20Instance = c20Instance;
View source
▼ 9 stack frames were expanded.
(anonymous function)
node_modules/web3/lib/web3/property.js:119
(anonymous function)
node_modules/web3/lib/web3/requestmanager.js:82
XMLHttpRequest.request.onreadystatechange
node_modules/web3/lib/web3/httpprovider.js:129
XMLHttpRequest../node_modules/xhr2-cookies/dist/xml-http-request-event-target.js.XMLHttpRequestEventTarget.dispatchEvent
node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34
XMLHttpRequest../node_modules/xhr2-cookies/dist/xml-http-request.js.XMLHttpRequest._setReadyState
node_modules/xhr2-cookies/dist/xml-http-request.js:208
XMLHttpRequest../node_modules/xhr2-cookies/dist/xml-http-request.js.XMLHttpRequest._onHttpRequestError
node_modules/xhr2-cookies/dist/xml-http-request.js:349
./node_modules/stream-http/lib/request.js.module.exports.<anonymous>
node_modules/xhr2-cookies/dist/xml-http-request.js:252
./node_modules/stream-http/lib/request.js.module.exports.emit
node_modules/events/events.js:153
(anonymous function)
node_modules/stream-http/lib/request.js:163
@fjcaetano
Copy link
Author

Any updates on this? Or should we just assume C20 is another exit scam?

@MatthewFin
Copy link
Contributor

@fjcaetano You should use the redemption DAPP hosted in our portal https://invictuscapital.com/app

Or alternatively query the smart contract directly via something like etherscan.io, you just need to make two transactions to redeem for C20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants