Open paulvi opened 3 years ago
@paulvi could you use this SDK instead?
Do you mean that "Documentation" link from https://instadapp.io/ was wrong and the content of https://docs.instadapp.io/ is of no use?
So https://github.com/instadapp/dsa-connect is newer SDK version
https://docs.instadapp.io/setup/ shows example as
and says that
build
hasHowever running build() without parameters causes
(node:22117) UnhandledPromiseRejectionWarning: Error:
gasPrice
is not defined. at f.exports.getTxObj (/Users/user/Workspaces/Ethereum/Instadapp/instadapp-get-started/node_modules/dsa-sdk/build/dsa.min.js:12:395221) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async /Users/user/Workspaces/Ethereum/Instadapp/instadapp-get-started/node_modules/dsa-sdk/build/dsa.min.js:12:41342 (So either docs or current version of sdk are wrong.