yvv
Legendary

Activity: 1344
Merit: 1000
.
|
 |
April 05, 2017, 02:56:26 PM |
|
From the blog Now you can short any coin without owning it, simply by betting that its price goes below certain level. Being a binary option, this contract also limits your loss (you can’t lose more than you paid) and includes an implicit take-profit (no risks after the price breaks the set level). You can actually do better than this with price oracles. You can issue collateralized loans. You can peg a token to any real world asset or basket of assets by backing it with equivalent amount of collateral in bytes or other crypto.
|
.
|
|
|
|
davidoski
|
 |
April 05, 2017, 04:48:13 PM |
|
Do I understand this correctly that to use this betting feature one must find:
1. some other user eager to be a counterparty to the betting contract 2. find out the other user's device address 3. pair the wallet with the other user's device 4. start a chat and set up a contract as described in the medium post
If that's correct we need some community forums to find possible counterparty users to bet with.
|
Chancellor on brink of second bailout for banks
|
|
|
|
innergy
|
 |
April 05, 2017, 04:55:36 PM |
|
|
|
|
|
|
tyz
Legendary

Activity: 3360
Merit: 1536
|
 |
April 05, 2017, 04:57:37 PM |
|
As an alternative to Cryptox.pl you could try to use the Bitcoin oracle in order to exchange Bitcoin and Byteballs with someone else. Of course it is not an exchange replacement but it is a new save way to trade. can we get byteball on bittrex so I dont have to use a janky ass exchange?
I am just playing a little bit around with Byteball and I am wondering if there is an API I can use to access DAG data on localhost? Couldn't find any information on the web.
|
|
|
|
|
|
davidoski
|
 |
April 05, 2017, 05:13:45 PM |
|
What is the pairing code of the CoinMarketCap oracle?
|
Chancellor on brink of second bailout for banks
|
|
|
|
|
Odrak
Member


Activity: 109
Merit: 10
|
 |
April 05, 2017, 06:30:05 PM |
|
|
|
|
|
|
tonych (OP)
Legendary

Activity: 990
Merit: 1036
|
 |
April 05, 2017, 07:04:45 PM |
|
Do I understand this correctly that to use this betting feature one must find:
1. some other user eager to be a counterparty to the betting contract 2. find out the other user's device address 3. pair the wallet with the other user's device 4. start a chat and set up a contract as described in the medium post
If that's correct we need some community forums to find possible counterparty users to bet with.
Correct. (2) and (3) is achieved by exchanging a pairing code.
|
Simplicity is beauty
|
|
|
tonych (OP)
Legendary

Activity: 990
Merit: 1036
|
 |
April 05, 2017, 07:09:46 PM |
|
I am just playing a little bit around with Byteball and I am wondering if there is an API I can use to access DAG data on localhost? Couldn't find any information on the web.
There is no documentation yet but you can read the DAG data by accessing the sqlite database directly. You can learn something about its structure from https://github.com/byteball/byteballcore/blob/master/byteball-sqlite.sql
|
Simplicity is beauty
|
|
|
tonych (OP)
Legendary

Activity: 990
Merit: 1036
|
 |
April 05, 2017, 07:11:26 PM |
|
What is the pairing code of the CoinMarketCap oracle?
It doesn't accept pairing requests. What for?
|
Simplicity is beauty
|
|
|
tonych (OP)
Legendary

Activity: 990
Merit: 1036
|
 |
April 05, 2017, 07:14:56 PM |
|
From the blog Now you can short any coin without owning it, simply by betting that its price goes below certain level. Being a binary option, this contract also limits your loss (you can’t lose more than you paid) and includes an implicit take-profit (no risks after the price breaks the set level). You can actually do better than this with price oracles. You can issue collateralized loans. You can peg a token to any real world asset or basket of assets by backing it with equivalent amount of collateral in bytes or other crypto. I guess there is some trust involved that the collateral holder won't run away with the collateral?
|
Simplicity is beauty
|
|
|
|
|
yvv
Legendary

Activity: 1344
Merit: 1000
.
|
 |
April 05, 2017, 07:31:41 PM |
|
From the blog Now you can short any coin without owning it, simply by betting that its price goes below certain level. Being a binary option, this contract also limits your loss (you can’t lose more than you paid) and includes an implicit take-profit (no risks after the price breaks the set level). You can actually do better than this with price oracles. You can issue collateralized loans. You can peg a token to any real world asset or basket of assets by backing it with equivalent amount of collateral in bytes or other crypto. I guess there is some trust involved that the collateral holder won't run away with the collateral? Collateral can be locked by smart contract, just like bitshares does.
|
.
|
|
|
|
SatoNatomato
|
 |
April 05, 2017, 07:34:17 PM |
|
Do I understand this correctly that to use this betting feature one must find:
1. some other user eager to be a counterparty to the betting contract 2. find out the other user's device address 3. pair the wallet with the other user's device 4. start a chat and set up a contract as described in the medium post
If that's correct we need some community forums to find possible counterparty users to bet with.
Slack channels is good short-term solution, similar to finding trading partners to exchange any other asset or currency, there should be a channel to find prediction-market betters.
|
|
|
|
|
|
SatoNatomato
|
 |
April 05, 2017, 07:35:57 PM |
|
As an alternative to Cryptox.pl you could try to use the Bitcoin oracle in order to exchange Bitcoin and Byteballs with someone else. Of course it is not an exchange replacement but it is a new save way to trade. can we get byteball on bittrex so I dont have to use a janky ass exchange?
I am just playing a little bit around with Byteball and I am wondering if there is an API I can use to access DAG data on localhost? Couldn't find any information on the web. Other users have said they take a copy of the byteball.sqlite file and access it with any sqlite browsers, even the CLI sqlite3 works well. Alternative is, you could run the byteball-explorer yourself locally, and thus explore the DAG with that nice interface.
|
|
|
|
|
ParmaBTC
Legendary

Activity: 1218
Merit: 1002
|
 |
April 05, 2017, 08:19:36 PM Last edit: April 10, 2017, 06:47:03 AM by ParmaBTC |
|
COUNTDOWN TO NEXT SNAPSHOT 11th APR 2017 06:08 UTC
|
|
|
|
|
tonych (OP)
Legendary

Activity: 990
Merit: 1036
|
 |
April 05, 2017, 08:58:42 PM |
|
From the blog Now you can short any coin without owning it, simply by betting that its price goes below certain level. Being a binary option, this contract also limits your loss (you can’t lose more than you paid) and includes an implicit take-profit (no risks after the price breaks the set level). You can actually do better than this with price oracles. You can issue collateralized loans. You can peg a token to any real world asset or basket of assets by backing it with equivalent amount of collateral in bytes or other crypto. I guess there is some trust involved that the collateral holder won't run away with the collateral? Collateral can be locked by smart contract, just like bitshares does. OK, assuming the collateral is locked by a smart contract, I wonder how it can be guaranteed that there is enough collateral even if the price of the real-world asset rises 10x.
|
Simplicity is beauty
|
|
|
yvv
Legendary

Activity: 1344
Merit: 1000
.
|
 |
April 05, 2017, 09:15:08 PM Last edit: April 05, 2017, 09:58:51 PM by yvv |
|
From the blog Now you can short any coin without owning it, simply by betting that its price goes below certain level. Being a binary option, this contract also limits your loss (you can’t lose more than you paid) and includes an implicit take-profit (no risks after the price breaks the set level). You can actually do better than this with price oracles. You can issue collateralized loans. You can peg a token to any real world asset or basket of assets by backing it with equivalent amount of collateral in bytes or other crypto. I guess there is some trust involved that the collateral holder won't run away with the collateral? Collateral can be locked by smart contract, just like bitshares does. OK, assuming the collateral is locked by a smart contract, I wonder how it can be guaranteed that there is enough collateral even if the price of the real-world asset rises 10x. There is a minimum collateral defined by maintenance collateral ratio. When collateral value drops below this ratio, position gets margin called by a smart contract. There is no 100% guarantee against black swan event (when collateral value goes to shit instantly), but risk of such event can be reduced by setting high enough MCR. This works in practice on bitshares DEX. Everything works pretty much similar to how brokerage firms do it, but implemented through a smart contract.
|
.
|
|
|
tonych (OP)
Legendary

Activity: 990
Merit: 1036
|
 |
April 05, 2017, 11:27:45 PM |
|
From the blog Now you can short any coin without owning it, simply by betting that its price goes below certain level. Being a binary option, this contract also limits your loss (you can’t lose more than you paid) and includes an implicit take-profit (no risks after the price breaks the set level). You can actually do better than this with price oracles. You can issue collateralized loans. You can peg a token to any real world asset or basket of assets by backing it with equivalent amount of collateral in bytes or other crypto. I guess there is some trust involved that the collateral holder won't run away with the collateral? Collateral can be locked by smart contract, just like bitshares does. OK, assuming the collateral is locked by a smart contract, I wonder how it can be guaranteed that there is enough collateral even if the price of the real-world asset rises 10x. There is a minimum collateral defined by maintenance collateral ratio. When collateral value drops below this ratio, position gets margin called by a smart contract. There is no 100% guarantee against black swan event (when collateral value goes to shit instantly), but risk of such event can be reduced by setting high enough MCR. This works in practice on bitshares DEX. Everything works pretty much similar to how brokerage firms do it, but implemented through a smart contract. Does it mean there is trade-off between being overcollaterized (thus wasting capital) and bearing the risk of margin call? What brokerage firms do seems like the opposite: they lend you 100x of what they hold in collateral, thus increasing money supply. position gets margin called by a smart contract Byteball smart contracts are just constraints. They just tell you the conditions when this contract can be spent. They can't sell a position. This also assumes presence of a market which is not a protocol-level thing.
|
Simplicity is beauty
|
|
|
yvv
Legendary

Activity: 1344
Merit: 1000
.
|
 |
April 05, 2017, 11:52:54 PM |
|
Does it mean there is trade-off between being overcollaterized (thus wasting capital) and bearing the risk of margin call? What brokerage firms do seems like the opposite: they lend you 100x of what they hold in collateral, thus increasing money supply.
Yes, there is a trade of between being overcollateralized and margin called. No, it is not the opposite to brokerage firms. Borrower's position at bitshares gives leverage, although lower than brokers usually give, but this is just a parameter of smart contract. Byteball smart contracts are just constraints. They just tell you the conditions when this contract can be spent. They can't sell a position. This also assumes presence of a market which is not a protocol-level thing.
Well, it is worth to think about how to implement CDOs in trustless way outside the protocol level, because this opens quite amazing opportunities.
|
.
|
|
|
|