Author Topic: Private testnet questions  (Read 268 times)

0 Members and 1 Guest are viewing this topic.

Offline Glaxmox

  • Newbie
  • *
  • Posts: 10
    • View Profile
Private testnet questions
« on: August 02, 2019, 03:43:31 pm »
Hello there, got few more questions regarding private testnet running.

1. Fullnode API server.
I was read that GUI need to connect to full API node.
I made a node without
Code: [Select]
partital-operations and
Code: [Select]
max-ops-per-accountI also read there
https://github.com/bitshares/bitshares-core/wiki/Wallet_Full-Nodes_Witness_Nodes
That i need to start cli_wallet  with
Code: [Select]
-h 127.0.0.1:8091 key to allow it connections from outside.
I did it, but my GUI won't connect to That node. I also tried 0.0.0.0 instead of 127.0.0.1
P.S.: i'm running private testsnet and in bitsharesjs and bitsharesjs-ws i've changed chain ID to my one.
2. How to list assets on testnet.
I was read about MPA and UIA. And i understand it. But for example. If i wan't list Bitcoin, how to link MPA to Bitcoin Blockchain?

Offline pc

  • Hero Member
  • *****
  • Posts: 1492
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: Private testnet questions
« Reply #1 on: August 03, 2019, 10:24:24 am »
The GUI doesn't connect to cli_wallet. You must connect it to the "rpc-endpoint" of the witness_node.

In order to "link" an external coin to an MPA you must publish a price feed for the MPA.
Or if you want to "link" a UIA to an external coin you must operate a gateway for it.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline Glaxmox

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Private testnet questions
« Reply #2 on: August 10, 2019, 06:22:29 pm »
Hi there, once more time,
i'm still RND testnet for myself. I've managed Bitshares API for explorer and elastic search for it, i'm setup oxarbitrage blockexplorer for my testnet
Code: [Select]
https://github.com/oxarbitrage/open-explorer/And after i've changes ES/UDF/Backend URL, i get strange situation - explorer is showing me accounts, it balances, fees, but doesn't show dynamic content, like transactions history, active and standby witness, active users, current block and so on....
In the same time, API have same data - for example Governance -> Witnesses

What could be wrong?

Offline Glaxmox

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Private testnet questions
« Reply #3 on: August 10, 2019, 06:24:55 pm »
The GUI doesn't connect to cli_wallet. You must connect it to the "rpc-endpoint" of the witness_node.

In order to "link" an external coin to an MPA you must publish a price feed for the MPA.
Or if you want to "link" a UIA to an external coin you must operate a gateway for it.

Am i understood that right that i'm just make MPA and then publish feed for that?
But what next? How to link to that blockchain and obtain deposit addresses?
I was ready pricefeed readme, but didn't not understood what to do next after i run it.

Online abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3702
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: Private testnet questions
« Reply #4 on: August 10, 2019, 09:13:17 pm »
The GUI doesn't connect to cli_wallet. You must connect it to the "rpc-endpoint" of the witness_node.

In order to "link" an external coin to an MPA you must publish a price feed for the MPA.
Or if you want to "link" a UIA to an external coin you must operate a gateway for it.

Am i understood that right that i'm just make MPA and then publish feed for that?
But what next? How to link to that blockchain and obtain deposit addresses?
I was ready pricefeed readme, but didn't not understood what to do next after i run it.

"if you want to "link" a UIA to an external coin you must operate a gateway for it."
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline Glaxmox

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Private testnet questions
« Reply #5 on: August 10, 2019, 09:22:53 pm »
The GUI doesn't connect to cli_wallet. You must connect it to the "rpc-endpoint" of the witness_node.

In order to "link" an external coin to an MPA you must publish a price feed for the MPA.
Or if you want to "link" a UIA to an external coin you must operate a gateway for it.

Am i understood that right that i'm just make MPA and then publish feed for that?
But what next? How to link to that blockchain and obtain deposit addresses?
I was ready pricefeed readme, but didn't not understood what to do next after i run it.

"if you want to "link" a UIA to an external coin you must operate a gateway for it."
I wan't to create "smartcoin" - for example, i wan't to list Phoenix Coin (PXC). In that case right way will be create UIA and create gateway for it? Is there any principal difference in listing smartcoins and main coins like LTC or BTC?
I was thought that to list PXC for example i need to create MPA and publish price feed for PXC. Am i wrong?
If i need to make a gateway, i need to do that for each listed coin "linked" to external blockchain (blockchain of that coin), correct?

Offline pc

  • Hero Member
  • *****
  • Posts: 1492
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Re: Private testnet questions
« Reply #6 on: August 11, 2019, 09:43:41 am »
I wan't to create "smartcoin" - for example, i wan't to list Phoenix Coin (PXC). In that case right way will be create UIA and create gateway for it? Is there any principal difference in listing smartcoins and main coins like LTC or BTC?
I was thought that to list PXC for example i need to create MPA and publish price feed for PXC. Am i wrong?
If i need to make a gateway, i need to do that for each listed coin "linked" to external blockchain (blockchain of that coin), correct?

There's a fundamental difference between an MPA and a gateway asset.

An MPA is loosely pegged to an external reference price in a decentralized way, but there is no way to directly exchange the MPA for its native counterpart.

A gateway asset is a UIA that is backed by its native counterpart through a guarantee made by a centralized gateway provider. The gateway provider allows direct exchange of the native token against the UIA and vice versa.

Which one do you mean when you talk about "linking" PXC?
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline Glaxmox

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Private testnet questions
« Reply #7 on: August 11, 2019, 12:59:41 pm »
I mean when i'm talking "linking" - getting addresses for deposit coins - that should be PXC blockchain addresses. In other way there will be not possible to deposit PXC.
Somehow our test blockchain need to arrange it to test traders. As i understood - thats gateway function.