Compare commits

..
5 Commits
Author SHA1 Message Date
Chris Troutner 8c17645479 fix(deserializeTx()): Adding additional error logging 2026-05-15 12:32:06 -07:00
Chris Troutner fa18daa103 Merge pull request #126 from Permissionless-Software-Foundation/ct-unstable
fix(minimal-slp-wallet): Updating to latest version
2026-05-15 11:26:25 -07:00
Chris Troutner b2f7ca3e44 fix(minimal-slp-wallet): Updating to latest version 2026-05-15 11:20:18 -07:00
Chris Troutner 3912db4c8d Merge pull request #125 from Permissionless-Software-Foundation/ct-unstable
fix(deseralizeTx): Updating URL for web service
2026-05-15 10:19:08 -07:00
Chris Troutner 9f3d1f866e fix(deseralizeTx): Updating URL for web service 2026-05-15 10:08:28 -07:00
8 changed files with 857 additions and 136 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ export default {
? ( ? (
process.env.APISERVER process.env.APISERVER
? process.env.APISERVER ? process.env.APISERVER
: 'https://api.fullstack.cash/v5/' : 'https://bch.fullstack.cash/v6/'
) )
: 'https://free-bch.fullstack.cash/', : 'https://free-bch.fullstack.cash/',
+847 -113
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -74,7 +74,7 @@
"koa2-ratelimit": "0.9.1", "koa2-ratelimit": "0.9.1",
"libp2p": "2.7.2", "libp2p": "2.7.2",
"line-reader": "0.4.0", "line-reader": "0.4.0",
"minimal-slp-wallet": "5.13.2", "minimal-slp-wallet": "7.1.5",
"mongoose": "5.13.14", "mongoose": "5.13.14",
"node-fetch": "npm:@achingbrain/node-fetch@2.6.7", "node-fetch": "npm:@achingbrain/node-fetch@2.6.7",
"nodemailer": "6.7.5", "nodemailer": "6.7.5",
+1 -1
View File
@@ -53,7 +53,7 @@ RUN git clone https://github.com/Permissionless-Software-Foundation/bch-dex-ui-v
WORKDIR /home/safeuser/bch-dex-ui-v3 WORKDIR /home/safeuser/bch-dex-ui-v3
# For development: switch to unstable branch # For development: switch to unstable branch
RUN git checkout psfoundation RUN git checkout ct-unstable
# Install dependencies # Install dependencies
#RUN mkdir .ipfsdata #RUN mkdir .ipfsdata
@@ -31,7 +31,4 @@ export APP_ID=bch-dex-001
#export P2WDB_URL=http://172.17.0.1:5667 #export P2WDB_URL=http://172.17.0.1:5667
export DISABLE_NEW_ACCOUNTS=true
export ADMIN_PASSWORD=decatur
npm start npm start
-11
View File
@@ -1,11 +0,0 @@
{
"privateKey": "L4VyBDiWYYeeZhkM3xE3nsZigXJYmvRM29YBxoC7da4FzvubjxFo",
"publicKey": "028d6c77d865e6140db4b879a9bdf69ee4846593c0b6c48a82c448d5792806aab1",
"mnemonic": "split title trigger soda execute frost brush labor vague protect bicycle fiscal",
"cashAddress": "bitcoincash:qprrdk7en7m774gsafkycxcymc9ry209jus5v8wx5z",
"address": "bitcoincash:qprrdk7en7m774gsafkycxcymc9ry209jus5v8wx5z",
"legacyAddress": "17QG25rNUfnfj2NtdaFiyiqKSJatvEnMYd",
"hdPath": "m/44'/245'/0'/0/0",
"slpAddress": "simpleledger:qprrdk7en7m774gsafkycxcymc9ry209juu08umx2u",
"nextAddress": 1
}
+3 -2
View File
@@ -468,8 +468,9 @@ class WalletAdapter {
} }
// Ensure the URL points at FullStack.cash, since the web 3 infra does not // Ensure the URL points at FullStack.cash, since the web 3 infra does not
// yet support this call. // yet support this call.
// TODO: Remove this once the web 3 infra supports this call.
const oldUrl = this.bchWallet.bchjs.RawTransactions.restURL const oldUrl = this.bchWallet.bchjs.RawTransactions.restURL
this.bchWallet.bchjs.RawTransactions.restURL = 'https://api.fullstack.cash/v5/' this.bchWallet.bchjs.RawTransactions.restURL = 'https://bch.fullstack.cash/v6/'
// Use a full node to deserialize the transaction. // Use a full node to deserialize the transaction.
const txObj2 = await this.bchWallet.bchjs.RawTransactions.decodeRawTransaction(txHex) const txObj2 = await this.bchWallet.bchjs.RawTransactions.decodeRawTransaction(txHex)
@@ -480,7 +481,7 @@ class WalletAdapter {
return txObj2 return txObj2
} catch (err) { } catch (err) {
console.error('Error in wallet.js/deserializeTx()') console.error('Error in wallet.js/deserializeTx(): ', err)
throw err throw err
} }
} }
+4 -4
View File
@@ -11,12 +11,12 @@ import axios from 'axios'
// import User from '../../../src/adapters/localdb/models/users.js' // import User from '../../../src/adapters/localdb/models/users.js'
// Customize these variables // Customize these variables
const EMAIL = 'chris.troutner@gmail.com' const EMAIL = 'someone@somewhere.com'
const NAME = 'Chris' const NAME = 'Someone'
const PASSWORD = '0mega16' const PASSWORD = 'test'
const ADMIN_EMAIL = 'system@system.com' const ADMIN_EMAIL = 'system@system.com'
const ADMIN_PASSWORD = 'decatur' const ADMIN_PASSWORD = 'admin'
async function createUser () { async function createUser () {
try { try {