You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
async createSet() {
console.log("create set");
const { setProtocol } = this.state;
console.log(setProtocol)
/**
* Steps to create your own Set Token
* ----------------------------------
*
* 1. Fund your MetaMask wallet with Kovan ETH: https://gitter.im/kovan-testnet/faucet
* 2. Modify your Set details below to your liking
* 3. Click `Create My Set`
*/
const trueUsdAddress = '0xadb015d61f4beb2a712d237d9d4c5b75bafefd7b';
I also get issues in the chrome console:
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
contentscript.js:1 MetamaskContentscript - lost connection to MetaMask Background Multiplex
d @ contentscript.js:1
contentscript.js:1 MetamaskContentscript - lost connection to MetaMask muxed traffic for channel "provider" failed.
d @ contentscript.js:1
contentscript.js:1 MetamaskContentscript - lost connection to MetaMask muxed traffic for channel "publicConfig" failed.
d @ contentscript.js:1
localhost/:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
source-map-support.js:124 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
retrieveSourceMapURL @ source-map-support.js:124
inpage.js:1 Error: Possible EventEmitter memory leak detected. 101 data listeners added. Use emitter.setMaxListeners() to increase limit
f @ inpage.js:1
webpackHotDevClient.js:138 ./node_modules/set-protocol-oracles/dist/utils/web3Helper.js
116:19-36 Critical dependency: the request of a dependency is an expression
printWarnings @ webpackHotDevClient.js:138
webpackHotDevClient.js:138 ./node_modules/set-protocol-contracts/dist/utils/web3Helper.js
142:19-36 Critical dependency: the request of a dependency is an expression
printWarnings @ webpackHotDevClient.js:138
webpackHotDevClient.js:138 ./node_modules/@truffle/contract/node_modules/web3-eth-accounts/src/scrypt.js
17:50-60 Critical dependency: the request of a dependency is an expression
printWarnings @ webpackHotDevClient.js:138
webpackHotDevClient.js:138 ./node_modules/@truffle/interface-adapter/node_modules/web3-eth-accounts/src/scrypt.js
17:50-60 Critical dependency: the request of a dependency is an expression
printWarnings @ webpackHotDevClient.js:138
webpackHotDevClient.js:138 ./node_modules/source-map-support/source-map-support.js
Module not found: Can't resolve 'module' in '/home/owodunni/Prog/algoBot/set/node_modules/source-map-support'
printWarnings @ webpackHotDevClient.js:138
DevTools failed to parse SourceMap: chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/sourcemaps/contentscript.js.map
DevTools failed to parse SourceMap: chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/sourcemaps/inpage.js.map
react_devtools_backend.js:6 MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider
https://medium.com/metamask/4a899ad6e59e
r @ react_devtools_backend.js:6
get @ inpage.js:1
getAccount @ App.js:102
_callee$ @ App.js:58
tryCatch @ runtime.js:62
invoke @ runtime.js:296
prototype.<computed> @ runtime.js:114
step @ App.css?9a66:26
(anonymous) @ App.css?9a66:26
(anonymous) @ App.css?9a66:26
createSet @ App.js:75
callCallback @ react-dom.development.js:145
invokeGuardedCallbackDev @ react-dom.development.js:195
invokeGuardedCallback @ react-dom.development.js:248
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:262
executeDispatch @ react-dom.development.js:593
executeDispatchesInOrder @ react-dom.development.js:615
executeDispatchesAndRelease @ react-dom.development.js:713
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:724
forEachAccumulated @ react-dom.development.js:694
runEventsInBatch @ react-dom.development.js:855
runExtractedEventsInBatch @ react-dom.development.js:864
handleTopLevel @ react-dom.development.js:4857
batchedUpdates$1 @ react-dom.development.js:17498
batchedUpdates @ react-dom.development.js:2189
dispatchEvent @ react-dom.development.js:4936
interactiveUpdates$1 @ react-dom.development.js:17553
interactiveUpdates @ react-dom.development.js:2208
dispatchInteractiveEvent @ react-dom.development.js:4913
VM84:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at Object.parse (<anonymous>)
at Object.parseSourceMapInput (util.js:433)
at new SourceMapConsumer (source-map-consumer.js:17)
at mapSourcePosition (source-map-support.js:190)
at wrapCallSite (source-map-support.js:367)
at Function.prepareStackTrace (source-map-support.js:416)
at parseError (index.js:2367)
at getStackFrames (index.js:2263)
at crashWithFrames (index.js:1927)
at index.js:1945
at rejectionHandler (index.js:2041)
parseSourceMapInput @ util.js:433
SourceMapConsumer @ source-map-consumer.js:17
mapSourcePosition @ source-map-support.js:190
wrapCallSite @ source-map-support.js:367
prepareStackTrace @ source-map-support.js:416
parseError @ index.js:2367
getStackFrames @ index.js:2263
crashWithFrames @ index.js:1927
(anonymous) @ index.js:1945
rejectionHandler @ index.js:2041
inpage.js:1 Uncaught (in promise) Error: Invalid JSON RPC response: undefined
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Using node v10.19.0 I get some errors when trying to run this code.
Whenever I try to modify the createSet function I get the following error:
I have tried running node with more memory to mitigate this:
Here is my modification:
I also get issues in the chrome console:
The text was updated successfully, but these errors were encountered: