Main > Technical Support
Problem setting up faucet TAPIN
luks33:
--- Quote from: xeroc on March 24, 2018, 12:44:15 pm ---I believe to make this work, the wallet-ui needs modifications too in order to format the pubkeys with the proper prefix. Else, the ui would try to crrate accoubt and provide illpresented pubkeys
--- End quote ---
Thank you very much xeroc, you point me in the right direction, i got it working now
xeroc:
I believe to make this work, the wallet-ui needs modifications too in order to format the pubkeys with the proper prefix. Else, the ui would try to crrate accoubt and provide illpresented pubkeys
luks33:
--- Quote from: xeroc on March 23, 2018, 09:25:48 am ---the faucet has been written specifically for bitshares and the testnet (or more precisely, using pybitshares)
It cannot simply hook into a different blockchain because it needs to know the chain id and prefix of the blockchain it connects to.
see:
https://github.com/xeroc/python-bitshares/blob/develop/bitsharesbase/chains.py
--- End quote ---
hi xeroc, i realize about that file about two weeks ago and made that change, but the error persists
this is my chains.py file
--- Code: ---known_chains = {
"NPY": {
"chain_id": "2e70810ddbefcb2bd523d9ce93f7ef100db99168b84023e0181b28fc1489e8d6",
"core_symbol": "NPY",
"prefix": "NPY"},
}
--- End code ---
Any thing else i could try?
thanks in advance
xeroc:
the faucet has been written specifically for bitshares and the testnet (or more precisely, using pybitshares)
It cannot simply hook into a different blockchain because it needs to know the chain id and prefix of the blockchain it connects to.
see:
https://github.com/xeroc/python-bitshares/blob/develop/bitsharesbase/chains.py
luks33:
--- Quote from: xeroc on March 22, 2018, 07:01:00 am ---That error tells me you'r public keys have a wrong format.
Are you running on BitShares? What's your config looking like?
--- End quote ---
Hi xeroc, i am running a testnet.
This is my config.yml file
--- Code: ---secret_key: "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy" # Random keys
nobroadcast: True # Safety mode
mail_host: "SERVER:589"
mail_user: "user"
mail_pass: "password"
mail_from: "noreply@faucet.org"
admins:
- adminA@example.com
- adminB@example.com
minIPAge: 300 # How long in secs does an IP need to wait to register a new account?
witness_url: "ws://127.0.0.1:8090"
registrar: "luks"
default_referrer: "luks"
referrer_percent: 50 # in percent
wif: "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
balance_mailthreshold: 500 # if balances goes below this, you will be notified
prefix: "NPY"
chain:
chain_id: "2e70810ddbefcb2bd523d9ce93f7ef100db99168b84023e0181b28fc1489e8d6"
core_symbol: "NPY"
prefix: "NPY"
core_asset: "NPY"
donation_amount: 10000
donation_asset: "NPY"
--- End code ---
Thanks for your answer, is a big help!!!
Navigation
[0] Message Index
[#] Next page
Go to full version