mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api.git
synced 2026-09-21 16:52:00 -07:00
Updating config
This commit is contained in:
Vendored
+1
-1
@@ -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',
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user