Closed satoshi-dex closed 2 weeks ago
Error while running adapter at projects/satoshi-dex:
Error: Protocol doesn't have total tvl, make sure to export a tvl key either on the main object or in one of the chains
Truncated error stack:
at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:198:11
Error saving cache: Error: ENOENT: no such file or directory, open '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'
at Object.openSync (node:fs:596:3)
at Object.writeFileSync (node:fs:2322:35)
at process.saveCache (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/cache.js:152:17)
at process.emit (node:events:529:35)
at process.exit (node:internal/process/per_thread:191:15)
at process.handleError (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/utils/handleError.js:18:11)
at process.emit (node:events:529:35)
at emit (node:internal/process/promises:149:20)
at processPromiseRejections (node:internal/process/promises:283:27)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'
}
thanks for the PR
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.json
file as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CIName (to be shown on DefiLlama):
Satoshi DEX
Twitter Link:
https://x.com/satoshiDEX_ai
List of audit links if any:
https://satoshidex.ai/audit.pdf
https://github.com/0xGuard-com/audit-reports/blob/master/SatoshiDEX%20Token/SatoshiDEX%20Token.pdf
Website Link:
https://satoshidex.ai/
Logo (High resolution, will be shown with rounded borders):
Current TVL:
$ 9.65k
Chain:
Stacks
Short Description (to be shown on DefiLlama):
SatoshiDEX is a decentralized exchange (DEX) built on the Stacks blockchain, a layer-2 blockchain connected to Bitcoin through Proof-of-Transfer (PoX) consensus
Category (full list at https://defillama.com/categories) *Please choose only one:
Dexes
methodology (what is being counted as tvl, how is tvl being calculated):
The calculated TVL is the current USD sum of all pools from core contract