Updating config

This commit is contained in:
Chris Troutner
2025-11-17 10:43:09 -08:00
parent b5ed86e914
commit a23c4d9328
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ export default {
},
// REST API URL for wallet operations
restURL: process.env.REST_URL || process.env.LOCAL_RESTURL || 'http://127.0.0.1:3000/v5/',
restURL: process.env.REST_URL || process.env.LOCAL_RESTURL || 'http://127.0.0.1:5942/v6/',
// IPFS Gateway URL
ipfsGateway: process.env.IPFS_GATEWAY || 'p2wdb-gateway-678.fullstack.cash',
+5 -4
View File
@@ -2,9 +2,13 @@
Use cases for price-related operations.
*/
import wlogger from '../adapters/wlogger.js'
// Global npm libraries
import axios from 'axios'
import SlpWallet from 'minimal-slp-wallet'
import PSFFPP from 'psffpp'
// Local libraries
import wlogger from '../adapters/wlogger.js'
import config from '../config/index.js'
class PriceUseCases {
@@ -64,9 +68,6 @@ class PriceUseCases {
})
await wallet.walletInfoPromise
let PSFFPP = await import('psffpp')
PSFFPP = PSFFPP.default
const psffpp = new PSFFPP({ wallet })
const writePrice = await psffpp.getMcWritePrice()