Skip to content

Commit

Permalink
Update ferritext.ps1 - rpc connection issues
Browse files Browse the repository at this point in the history
  • Loading branch information
koh-gt authored Jun 1, 2023
1 parent b645ddb commit f454d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ferritext.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
[string] $rpcuser = "user"
[string] $rpcpass = "password"
[string] $wallet_name = "" # leave as "" for [default wallet] -- wallet.dat
[string] $rpchost = "127.0.0.1"

# commands
[string] $current_path = $PWD.Path
[string] $ferrite_cli = "$current_path\ferrite-cli -rpcuser=$rpcuser -rpcpassword=$rpcpass"
[string] $ferrite_cli = "$current_path\ferrite-cli -rpcconnect=`"$rpchost`" -rpcuser=$rpcuser -rpcpassword=$rpcpass -testnet"

function hex([string] $text){return ([System.Text.Encoding]::UTF8.GetBytes($text) | ForEach-Object { $_.ToString("X2") }) -join ""}

Expand Down

0 comments on commit f454d3f

Please sign in to comment.