Jump to content

jn_r

Member
  • Content Count

    778
  • Joined

6 Followers

About jn_r

  • Rank
    Advanced

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Taylor, see here a working sample: https://xrpl.org/get-started-with-rippleapi-for-javascript.html#4-build-with-yarn
  2. Swapping is one thing, but where do you create and market the orders and how are these orders settled? I mean specifically an open market. If you agree one on one you want to swap, then atomic swap will do the trick. But if you do not know in advance with whom you are going to swap, how do you arrange for that. How is the order translated to an atomic swap n.b. Let's look at the most simple but best use-case ever. BTC<->ETH orderbook swaps decentralized fully trustless. Why isn't this running on Ethereum or Bitcoin chain yet?
  3. I think the benefit of us all being here is to learn from each other. Discussion and challenging each other is part of that and we can't be all right or wrong. That said, atomic swaps work a little as follows: asset A on chainA is sent on chainA from person x to person y. asset B on chainB is sent on chainB from person y to person x. For this to work trustless you need on both chains support for TimeLocks, HashLocks and Public PreImage Some explanatory sides (couldn't find better ones, pretty sure there are better explanations): https://medium.com/coinmonks/atomic-s
  4. Ok, I see that's true. But still you need some kind of trade platform where the price is determined. That will not be with the native assets then, at least one will be an IOU.
  5. That is what they previously did with the DEX where they integrated IOU's. I was kinda sad when they pivotted away from that. Their current focus is on interledger transactions, which started with the ILP paper up to where it currently stands with RippleNet and ODL. Yes, a bridge asset and network, the question is, where should the DEX in your opinion run? On the CBDC1 chain, the CBDC2 chain or on another chain Atomic Swaps should have led to a trustworthy 'foreign' coin on the Ethereum network, but can you point me to a trustless wrapped asset? Vitalik said the following about it
  6. It fell out of scope. It is defined in the try {} block above so you should define it before that block if you want to also use it outside that block
  7. CBDCs can be native blockchain-based digital currencies, but they are native only on their own chain. So then you should have a mechanism for chain interoperability (like cosmos or polkadot?) to be able to supply the CBDC tokens on a trustless decentralized exchange. Would that not create something like a 'decentralized liability'? Imo maybe it is possible, but not yet mature and it is not instant settlement
  8. I think you are looking for these lines: // 'GET' without specific headers const json = await fetch(url).then(res => res.json()); // 'GET' with specific headers const data = await fetch('https://www.goldapi.io/api/XAG/CAD', { 'method': 'GET', 'headers': { 'x-access-token': 'SECRET', 'Content-Type': 'application/json' } }).then(res => res.json()); It is a bit mixed, the 'await' and also using 'then'. You can also use a 2nd await, but that would require another line with another variable. So this seems short and clear
  9. In an EVM world (like Ethereum or Flare) it is pretty easy to build functionality and deliver value in the form of a coin. This functionality can be e.g. a derivative that is based on value of other tokens on the network. So not necessarily an IOU, it can be completely decentralized in itself. This is what I see the value of DeFi, basically decentralized derivatives. (But note b.t.w. that UK plans to ban derivatives on crypto - https://cointelegraph.com/news/uk-s-fca-bans-retail-crypto-derivatives-after-year-long-consideration - which is weird imo ...) Not saying that these new coins are
  10. Thanks. It is still confusing but also fascinating to see how it could work with stablecoins based on crypto-collateral (you should read up on Celo, they make it even more complicated combining it with AMM). I haven't had time to shift through the rest of the posts, but will start now ..
  11. I see another caveat, say e.g. the MM at exchange B wants to create xMXN. he then collaterizes with 200% in XRP. But when he trades the xMXN it comes in the end in the hands of the beneficiary bank. The consequence is that neither MM nor the beneficiary bank can unwind the the collateral. The bank could take over the collateral by sending 200% XRP to the MM and receive ownership of the collateral in return. He would then end up with xMXN and the collateral. He could unwind it now and would receive the XRP back, but the xMXN would also be gone. So, not that it is necessary to be done, but it is
  12. There is a lot of posts already and I needed time to digest only the first post, therefor sorry if I repeat things already mentioned. First of all, a nice out of the box thinking, might have potential :-) The things I see are: Oracles. For the stablecoin solution from D. Schwarz you need oracles, one for USD/XRP price and one for MXN/XRP. In the whole solution that is the most centralized part, just thought it should be mentioned. xUSD != USD. Even with 200% collateral, there still is a small risk that make the synthetic more riskier than the native coin. Although a xUSD/USD marke
  13. It looks tempting to store dormant XRP at a company like Celsius Network, but what I am always wondering with these newish companies, how do they handle legal stuff like the handling of what if you die in an accident or whatever. Normally you would have an executor of will, would Celsius Network comply with this executor and release funds to your heirs? Was that by chance also asked during the AMA?
  14. "All the world's a stage, And all the men and women merely players". What a nice and sympathetic guy :-)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.