Pages:
Author

Topic: ** LAUNCHED ** CredaCash -- The Most Private Cryptocurrency in the World (Read 10790 times)

member
Activity: 242
Merit: 29
      "maximum exchange rate": 0.000698,
      "minimum exchange rate": 0.000694,

Maybe my max/min rate is not correctly set, please help!

The mining rewards accrue after the BCH payment for the match receives 12 confirmations on the BCH blockchain and is claimed on the CredaCash blockchain. This can take 2-4 hours or longer, depending on how fast the BCH blockchain is running.

The setting of the min and max exchange rates is up to you. Each time the mining script submits exchange requests, it can possibly result in selling CredaCash to another user, or buying CredaCash from another user. The minimum rate should therefore be set to the minimum amount of BCH you want to receive for each unit of CredaCash the script might sell, and the maximum rate should be set to the maximum amount of BCH you want to pay for each unit of CredaCash the script might buy.

In order to mine, the maximum rate you set must be higher than the current rate on the exchange. The current rate on the exchange is 0.000488, and since 0.000698 is higher than 0.000488, the values you have set will currently result mining. However, if the rate on the exchange rises above 0.000698, the mining script will no longer be able to mine at the maximum rate of 0.000698. It will then instead start to submit non-mining exchange requests at your minimum rate of 0.000694 in an effort to push down the average exchange rate until it gets back under 0.000698, at which point the script can resume mining at a rate under your maximum rate. However, exchange requests at 0.000694 are unlikely to push the average rate on the exchange down below 0.000698, and in that event, the mining script will continue to submit non-mining requests until it is stopped. If this happens, you might have better success with a wider range of rates. The specific range is up to you however, based on the rates at which you are willing to buy and sell CredaCash. You can watch the console output of the mining script to see if it has started to submit non-mining exchange requests in an attempt to push down the rate on the exchange.
hero member
Activity: 579
Merit: 500
What profitable values should be edited in the exchange-pay-bitcoincash-core.conf

"Mining":
   {
      "maximum exchange rate": 0.000698,
      "minimum exchange rate": 0.000694,
      "exchange requests per hour": 120,
      "exchange request minimum amount": 100,
      "exchange request maximum amount": 1000,
      "minimum CredaCash balance": 10,
      "minimum BCH balance": 0.001,
      "skip autopay test": false

Maybe my max/min rate is not correctly set, please help!


member
Activity: 242
Merit: 29
my exchange mining script waiting for quite a while,

start time 1732762214
pay_monitor_startup
Testing exchange autopay script...
Submitting crosschain buy request time 1732762214 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762215 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762217 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762219 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762220 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762222 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762224 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762226 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762228 amount 0.1 rate 0.000686885
Waiting for test match...
Found test match matchnum 124063
Waiting for test match to be paid and confirmed...

Is the above normal? or my settings stucked on something?

Yes, it can take 2-4 hours or longer for the match to be paid and confirmed. If not confirmed after 12 hours though, it will report an error.

What does the autopay script window say? Shortly after the mining script says "Found test match", the autopay script should say "paid match". After that, the mining script is waiting for the BCH payment to get 12 confirmations on the BCH blockchain, which can take a while.
hero member
Activity: 579
Merit: 500
my exchange mining script waiting for quite a while,

start time 1732762214
pay_monitor_startup
Testing exchange autopay script...
Submitting crosschain buy request time 1732762214 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762215 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762217 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762219 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762220 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762222 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762224 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762226 amount 0.1 rate 0.000686885
Submitting crosschain sell request time 1732762228 amount 0.1 rate 0.000686885
Waiting for test match...
Found test match matchnum 124063
Waiting for test match to be paid and confirmed...

Is the above normal? or my settings stucked on something?
member
Activity: 242
Merit: 29
1732522727 Warning: rpc port 9234 exception "HTTPConnectionPool(host='127.0.0.1', port=19828): Read timed out. (read timeout=600)" req {"id":0,"method":"cc.exchange_requests_pending_totals","params":["btc"]}

I can't see any reason why you would get ReadTimeout from HTTPConnectionPool at port 19828. That port is not used by any of the CredaCash software. I would suggest downloading a clean copy of the latest Python 3.12 release at https://www.python.org/downloads/release/python-3127/ and seeing what the script does when run under this version of Python.

There is also no reason the mining script should be attempting to query pending totals for btc (see "params":["btc"]), since btc is not involved in mining. The mostly likely cause of this is an incorrect setting in one of the configuration files. If the script doesn't work under Python 3.12, we would be happy to walk you through each step of the mining instructions at https://CredaCash.com/mining, starting with an unmodified version of the CredaCash software and configuration files to determine what is going wrong.
newbie
Activity: 117
Merit: 0
_start_exchange_autopay_bitcoincash_core.bat:
C:\CredaCash>C:\Users\XIAOHU\AppData\Local\Programs\Python\Python313\python.exe exchange-pay.py exchange-pay-bitcoincash-core.conf
Foreign currency: bch
CredaCash rpc port: 9234
IsTestnet False
Foreign wallet  already loaded
checking foreign wallet balance...
Foreign wallet balance: 0.33009003

1732522064 start
1732522079 = 0 Creda currently locked in pending buy requests
1732522097 = 0 Creda currently locked in pending buy requests
1732522113 = 0.05 Creda currently locked in pending buy requests
1732522727 Warning: rpc port 9234 exception "HTTPConnectionPool(host='127.0.0.1', port=19828): Read timed out. (read timeout=600)" req {"id":0,"method":"cc.exchange_requests_pending_totals","params":["btc"]}

_start_exchange_mining.bat:
C:\CredaCash>C:\Users\XIAOHU\AppData\Local\Programs\Python\Python313\python.exe exchange-mine.py exchange-pay-bitcoincash-core.conf
maximum exchange rate: none
minimum exchange rate: none

start time 1732522103
pay_monitor_startup
Testing exchange autopay script...
Submitting crosschain buy request time 1732522103 amount 0.1 rate 0.00136711
Submitting crosschain sell request time 1732522107 amount 0.1 rate 0.00136711
Submitting crosschain sell request time 1732522109 amount 0.1 rate 0.00136711
Submitting crosschain sell request time 1732522111 amount 0.1 rate 0.00136711
Submitting crosschain sell request time 1732522113 amount 0.1 rate 0.00136711
Submitting crosschain sell request time 1732522115 amount 0.1 rate 0.00136711
Submitting crosschain sell request time 1732522119 amount 0.1 rate 0.00136711
1732522719 Warning: rpc port 9234 exception "HTTPConnectionPool(host='127.0.0.1', port=19828): Read timed out. (read timeout=600)" req {"id":0,"method":"cc.crosschain_request_create","params":["","ss",0.1,0.1,0.0013671091077019164,0,"bch","bitcoincash:qqsjufhzdyjx3kvqfln5r9z94zwx6a2xmqstgf59wf",0]}

Crosschain sell request failed time 1732522719 amount 0.1 rate 0.00136711
ERROR: startup failed

This problem occurs every time the result is run for a period of time
member
Activity: 242
Merit: 29
How do I set up a mining script to implement my own buy and sell wash trading?

I'm not sure I understand. Do you want to do something different than the exchange-mine.py script included with the CredaCash software?

If the setting is not correct, will I lose BCH or CredaCash due to the exchange rate that matches other participants? If I want to achieve mining by buying and selling myself, do I need to set the same custom and unique market exchange rate for the "maximum exchange rate" and "minimum exchange rate"?

It is possible that the mining script will sell all of your CredaCash or BCH, if another user is using the exchange to buy or sell CredaCash. For this reason, the mining script allows you to set the minimum and maximum rates for trading on the exchange. Then if your mining requests match another user and result in a net buy or net sell, the net buy or net sell will occur within that range. Note you can also set an amount limit and trade frequency in the mining configuration file, so any trading will happen over time.
newbie
Activity: 117
Merit: 0
How do I set up a mining script to implement my own buy and sell wash trading? If the setting is not correct, will I lose BCH or CredaCash due to the exchange rate that matches other participants? If I want to achieve mining by buying and selling myself, do I need to set the same custom and unique market exchange rate for the "maximum exchange rate" and "minimum exchange rate"?
member
Activity: 242
Merit: 29
We will take another look at the mining instructions at https://CredaCash.com/mining and see if they can be made more clear.  Please let us know if you have any additional questions.

We updated the mining instructions at https://CredaCash.com/mining and hopefully they are now easier to follow. Please let us know if you have any additional questions or run into any issues.
member
Activity: 242
Merit: 29
Does the entire mining process have to participate in automatic buying and selling transactions? Is it not possible to mine alone without selling?

The buyer of CredaCash gets the mining rewards. So it is possible to mine by only buying CredaCash, without selling it. The script does wash trading using the "trade" exchange request, which is equivalent to offsetting buy and sell requests. This could easily be changed to use the "buy" exchange request, which would result in only buying CredaCash. (The specific line that would need to be changed in exchange-mine.py currently reads: submit_xreq(s, 'trade', ....  The word 'trade' would need to be changed to 'buy'.)
newbie
Activity: 99
Merit: 0
Does the entire mining process have to participate in automatic buying and selling transactions? Is it not possible to mine alone without selling?


You did not read the conditions carefully and did not understand the essence of mining. In simple terms, the system encourages the use of internal exchange. For purchasing coins, you receive rewards. To automate the process, you buy and sell to yourself based on a matching algorithm or under the same conditions as other exchange participants. To expedite this process, the developers offered their own version of a bot that trades with itself, thus naming this process mining. Mining of the exchange. This innovative solution is aimed at incentivizing all participants in the process as well as developing the exchange system. Currently, it works excellently, and many have already profited from early participation. The longer you do nothing, the more opportunities you miss from early use of the platform!
newbie
Activity: 117
Merit: 0
Does the entire mining process have to participate in automatic buying and selling transactions? Is it not possible to mine alone without selling?
member
Activity: 242
Merit: 29
I have read the mining steps and automatic trading script instructions many times and it is very confusing. Do I need to hold BCH currency to mine? Do I need to buy CredaCash or sell CredaCash to participate in mining?
For example: I participated in mining in the early years and my old wallet has some CredaCash. What should I do if I want to continue mining?

Yes, mining is now based on using the exchange to trade BCH and CredaCash, so you need both BCH and CredaCash for trading. The basic steps described in the instructions are:

1. Run the CredaCash Node software.
2. Run the Bitcoin Cash Node software (v27.0 is included with the CredaCash software).
3. Wait for the CredaCash and Bitcoin Cash blockchains to fully sync.
4. Deposit BCH into the Bitcoin Cash wallet.
5. Obtain CredaCash (which you don't need to do if you already have CredaCash).
6. Edit the CredaCash exchange configuration file to set your minimum and maximum acceptable exchange rates.
6. Run the CredaCash exchange autopay script.
7. Run the CredaCash exchange mining script.

The mining script attempts to do wash trading, but if there is an imbalance between buy and sell requests on the exchange, the wash trade requests might result in a net buy or sell, within the exchange rate you specify in the configuration file.

We will take another look at the mining instructions at https://CredaCash.com/mining and see if they can be made more clear.  Please let us know if you have any additional questions.
newbie
Activity: 117
Merit: 0
I have read the mining steps and automatic trading script instructions many times and it is very confusing. Do I need to hold BCH currency to mine? Do I need to buy CredaCash or sell CredaCash to participate in mining?
For example: I participated in mining in the early years and my old wallet has some CredaCash. What should I do if I want to continue mining?
member
Activity: 242
Merit: 29
Greetings! In preparation for the upcoming GUI wallet, the CredaCash project has released a new version of our core software. This version corrects an issue with partial settlement payments on the integrated exchange. This change affects the transaction consensus rules, so the new version is required to maintain sync with the blockchain.

The new release is available at https://CredaCash.com/software/, and the source code is published on GitHub.

If you have any questions or run into any issues, please let us know!
member
Activity: 242
Merit: 29
Its opening wallet form use/me/appdata/local/CredaCash/CCWallet-1/CCWallet.ccw

and this works?
Code:
sqlite3 C:\Users\\AppData\Local\CredaCash\CCWallet-1\CCWallet.ccw
.schema
pragma integrity_check;
newbie
Activity: 39
Merit: 0
and its a wallet from 2019
ccwallet.exe was tested with wallets from 2019, it should work fine.

.open CCWallet
The file CCWallet is in your current directory? ccwallet.exe doesn't normally look for the wallet file in the current directory. What does the debug output line containing "DbConn::OpenDbFile" say?



Its opening wallet form use/me/appdata/local/CredaCash/CCWallet-1/CCWallet.ccw
member
Activity: 242
Merit: 29
and its a wallet from 2019
ccwallet.exe was tested with wallets from 2019, it should work fine.

.open CCWallet
The file CCWallet is in your current directory? ccwallet.exe doesn't normally look for the wallet file in the current directory. What does the debug output line containing "DbConn::OpenDbFile" say?

newbie
Activity: 39
Merit: 0
and its a wallet from 2019
newbie
Activity: 39
Merit: 0
Hey I am having a problem to open my old wallet geting an error :

[2024-10-19 17:01:48.460855] [0x000069e8] [error]   Database error 26 at ../src/walletdb.cpp:129 in "PRAGMA journal_mode = PERSIST;" --> file is not a database

The possibilities I can see are a configuration issue, or you're not using the correct wallet file, or the wallet file is corrupted.

I suggest download the sqlite tools from https://www.sqlite.org/download.html . Then extract the files and make sure you can run the program sqlite3.

Next, run ccwallet from the command line like this:

Code:
ccwallet.exe --conf=ccwallet.conf --trace=4

ccwallet will output some debugging info to the terminal. The second line should be "DbConn::OpenDbFile" with the full path of the wallet file.

Now try opening that same file using sqlite3, like this:

Code:
sqlite3 

and if it opens, check the schema using the command:

Code:
.schema

and then try the command:

Code:
pragma integrity_check;

What do you see?




sqlite> .open CCWallet
sqlite> .schema
sqlite> pragma integrity_check;
ok
sqlite>
and Yes it open wallet file like you said but :
[2024-10-19 22:01:33.149807] [0x00003538] [error]   Database error 26 at ../src/walletdb.cpp:129 in "PRAGMA journal_mode = PERSIST;" --> file is not a database
[2024-10-19 22:01:33.157786] [0x00003538] [error]   Database error 26 at ../src/walletdb.cpp:129 in "PRAGMA journal_mode = PERSIST;" --> file is not a database
Pages:
Jump to: