<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Beetbix</title>
    <description>The latest articles on DEV Community by Beetbix (@jemmawson).</description>
    <link>https://dev.to/jemmawson</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F184683%2F2814bbca-861b-4145-9784-b16a28c43bb2.png</url>
      <title>DEV Community: Beetbix</title>
      <link>https://dev.to/jemmawson</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jemmawson"/>
    <language>en</language>
    <item>
      <title>Scala+Stellar #6</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sun, 19 Jul 2020 07:02:25 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-6-4jdg</link>
      <guid>https://dev.to/jemmawson/scala-stellar-6-4jdg</guid>
      <description>&lt;p&gt;🔙 Last Week&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Current SDK&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Work is progressing well on SEP-010 for web authentication. &lt;code&gt;stellar.sdk.auth.AuthChallenger&lt;/code&gt; can generate a valid &lt;code&gt;Challenge&lt;/code&gt; for any  account id and convert it to/from JSON.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scala"&gt;&lt;code&gt;&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;serverKey&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;KeyPair&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;random&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;authChallenger&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;AuthChallenger&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;serverKey&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;PublicNetwork&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;challenge&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;authChallenger&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;challenge&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;KeyPair&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;toAccountId&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;challenge&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;toJson&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="o"&gt;{&lt;/span&gt;
  &lt;span class="s"&gt;"transaction"&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt;&lt;span class="err"&gt;"&lt;/span&gt;&lt;span class="kt"&gt;AAAAAgAAAABKcLCRa6Jesv...&lt;/span&gt;&lt;span class="err"&gt;0&lt;/span&gt;&lt;span class="kt"&gt;Aw&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="s"&gt;",
  "&lt;/span&gt;&lt;span class="n"&gt;network_passphrase&lt;/span&gt;&lt;span class="s"&gt;":"&lt;/span&gt;&lt;span class="nc"&gt;Public&lt;/span&gt; &lt;span class="nc"&gt;Global&lt;/span&gt; &lt;span class="nc"&gt;Stellar&lt;/span&gt; &lt;span class="nc"&gt;Network&lt;/span&gt; &lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="nc"&gt;September&lt;/span&gt; &lt;span class="mi"&gt;2015&lt;/span&gt;&lt;span class="err"&gt;"&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(Here's the &lt;a href="https://laboratory.stellar.org/#xdr-viewer?input=AAAAAgAAAABKcLCRa6JesvuJeLH5%2BCPYzpgkL3xe8st874Hkm1Z%2FRAAAAGQAAAAAAAAAAAAAAAEAAAAAXxPuxQAAAABfE%2FJOAAAAAAAAAAEAAAABAAAAAEjhvjr8vO93FFe0KiqJ9Cggdd7qxwQ7diWACqsc6escAAAACgAAAARhdXRoAAAAAQAAADBc%2B%2Fbp6Weszv86uxslnNFKNFX3oPNq2SqUQVMBC7gSXeVO%2Fj5%2B6IaJd6q%2BP6mrt%2F0AAAAAAAAAAZtWf0QAAABAF0gwMf29IjnUuwUZbLhRfwJIUtDAq5ig01yaTq9sRN%2F%2FUPdQ%2F7tpxHN3JhDaJkvk7NiweXuf8t1Nml%2BlCPh0Aw%3D%3D&amp;amp;type=TransactionEnvelope&amp;amp;network=public"&gt;generated challenge transaction&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Next step is to validate the response provided by a client. I'm not yet certain if the SDK will provide the resulting JWT, or if that is best handled by the web framework being employed. I suspect the latter. We'll see!&lt;/p&gt;

&lt;p&gt;🍕 Planned (Jun-Aug)&lt;/p&gt;

&lt;p&gt;&lt;del&gt;SEP-007 - URI Scheme to Facilitate Delegated Signing&lt;/del&gt;&lt;br&gt;
SEP-010 - Stellar Web Authentication&lt;br&gt;
Ongoing SDK rebuild effort.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Scala+Stellar #5 - Bitcoin Payments</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sun, 05 Jul 2020 07:37:38 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-5-bitcoin-payments-4h42</link>
      <guid>https://dev.to/jemmawson/scala-stellar-5-bitcoin-payments-4h42</guid>
      <description>&lt;p&gt;🤔 &lt;strong&gt;Thinking about&lt;/strong&gt;&lt;br&gt;
I have been pondering the value of bitcoin quite a bit. Something I've heard often, as early as a quote from @aantonop in 2017, and more frequently in recent weeks, is the idea that bitcoin is not a payments technology &amp;amp; that to think so is to miss the point. That's at odds with the early and ongoing suggestions that bitcoin can be used to buy cups of coffee and digital subscriptions. Rather than just an excuse for the network's low throughput, I think the notion is true. There's much more to bitcoin than just payments.&lt;/p&gt;

&lt;p&gt;Bitcoin as a globally accessible, transferrable store of value is &lt;em&gt;really&lt;/em&gt; powerful; more so than gold. I tend to think that as a knowledge worker in a developed economy I can't possibly fully comprehend what a permissionless, ubiquitous network for securely storing value would mean to people in markets and communities everywhere. We can do a lot of good in the world by supporting it. But it's poor as a payments platform. That's where fit-for-purpose networks like Stellar can fill the gap (and why Lightning Network and the race for an L2 solution is a thing). Stellar's potential role as the infrastructure through which "P2P of everything" can happen is exciting and can only be strengthened by the application of on-chain smart contract support.&lt;/p&gt;

&lt;p&gt;🔙 &lt;strong&gt;Last Week&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Current SDK&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Completed SEP-007 web+stellar:pay support. It is now possible to create and parse payment requests; as well as sign+validate as the requestor.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And that's SEP-007 fully supported. That means I get to cross it off my list!&lt;/p&gt;

&lt;p&gt;🍕 &lt;strong&gt;Planned (Jun-Aug)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;del&gt;SEP-007 - URI Scheme to Facilitate Delegated Signing&lt;/del&gt;&lt;br&gt;
SEP-010 - Stellar Web Authentication&lt;br&gt;
Ongoing SDK rebuild effort.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Scala+Stellar Weekly Update June 28, 2020</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sun, 28 Jun 2020 07:55:54 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-weekly-update-june-21-2020-55f5</link>
      <guid>https://dev.to/jemmawson/scala-stellar-weekly-update-june-21-2020-55f5</guid>
      <description>&lt;p&gt;🤔 &lt;strong&gt;Thinking about&lt;/strong&gt;&lt;br&gt;
I hadn't paid much attention to &lt;a href="//publicnode.org"&gt;Public Node&lt;/a&gt; until last week. I listened to the 3 episodes in their newly started &lt;a href="https://podcasts.apple.com/us/podcast/stellar-discussions-by-the-public-node-community/id1514550787"&gt;podcast series&lt;/a&gt; and it's very good. Their &lt;a href="https://publicnode.org/blog/"&gt;blog content&lt;/a&gt; is also high quality. I really like their model for public ownership of Stellar node infrastructure and look forward to integrating support for their Horizon instances.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/___leigh___"&gt;Leigh's&lt;/a&gt; video on &lt;a href="https://www.youtube.com/watch?v=W-n73Cuy7-0"&gt;SEP-30 key management&lt;/a&gt; is next up on my watchlist. If you pay attention to the developer mailing list you'll know that his work is very thorough and he has a great ability to explain technical concepts concisely, so I'm also looking forward to watching this.&lt;/p&gt;

&lt;p&gt;🔙 &lt;strong&gt;Last Week&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Current SDK&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Completed SEP-007 &lt;code&gt;web+stellar:tx&lt;/code&gt; support. It is now possible to create and parse signing requests; as well as sign+validate as the requestor.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scala"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Generating a signed signing request&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;requestingKey&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;KeyPair&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;txn&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Transaction&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;signingRequest&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;txn&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;signingRequest&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;callback&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Some&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;HttpUrl&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;parse&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"https://foobar.com/txn"&lt;/span&gt;&lt;span class="o"&gt;)),&lt;/span&gt;
  &lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Some&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"For access to FooBar features."&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt;
  &lt;span class="o"&gt;...&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;several&lt;/span&gt; &lt;span class="n"&gt;more&lt;/span&gt; &lt;span class="n"&gt;optional&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;
&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="py"&gt;sign&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"foobar.com"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;requestingKey&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;signingRequestUrl&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;signingRequest&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;toUrl&lt;/span&gt;

&lt;span class="c1"&gt;// Parsing and validating the request&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;signingRequest&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;TransactionSigningRequest&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;signingRequestUrl&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;valid&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Future&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;SignatureValidation&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;signingRequest&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;validateSignature&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;transaction&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;signingRequest&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;transaction&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SEP-007 &lt;code&gt;web+stellar:pay&lt;/code&gt; support remains to be completed before I can cross off this feature from the quarterly goals.&lt;/p&gt;

&lt;p&gt;🍕 &lt;strong&gt;Planned (Jun-Aug)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEP-007 - URI Scheme to Facilitate Delegated Signing&lt;/li&gt;
&lt;li&gt;SEP-010 - Stellar Web Authentication&lt;/li&gt;
&lt;li&gt;Ongoing SDK rebuild effort.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Scala+Stellar Weekly Update June 21, 2020</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sun, 21 Jun 2020 06:20:10 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-weekly-update-june-21-2020-462k</link>
      <guid>https://dev.to/jemmawson/scala-stellar-weekly-update-june-21-2020-462k</guid>
      <description>&lt;p&gt;🤔 &lt;strong&gt;Thinking about&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The open beta release of &lt;a href="https://vibrant.cash/"&gt;Vibrant&lt;/a&gt; is a great move that fills a market gap, bringing practical applications to users in need. It feels really important. Stellar is tremendous infrastructure at a price that is highly compelling, but infrastructure is not product. For Stellar to really build up significant network effects it needs to balance the brilliance of the infrastructure with consumer products that serve our target customers. Vibrant looks great and is an important step in the right direction. Kudos to the SDF team behind this. Let's Goooooo! 🚀&lt;/p&gt;

&lt;p&gt;I've also been thinking about fees and what happens to them when the network reaches 100% utilisation. And what that might mean for business models that currently pay fees on behalf of users.&lt;/p&gt;

&lt;p&gt;Finally, I'm super stoked for the scheduled &lt;a href="https://www.youtube.com/watch?v=T7FlHKbew4U"&gt;Turing Complete Contract proposal video&lt;/a&gt;. It's not until next month, but I find I keep checking to make sure I haven't missed it.&lt;/p&gt;

&lt;p&gt;🔙 &lt;strong&gt;Last Week&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Current SDK&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Publishing v1 transactions. The existing SDF was already able to parse v1 transactions, now it publishes in v1 by default (v0.13.0)&lt;/li&gt;
&lt;li&gt;Fee bumps. This hot new feature is exposed in the SDF via a &lt;code&gt;bumpFee&lt;/code&gt; method on &lt;code&gt;Transaction&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;TestNetwork testing. A few months ago the Horizon+Core docker quickstart image started taking 5 minutes to start up.  This really impacted the test cycle for integration tests. I finally had enough and started migrating to TestNetwork based testing. To this end, I built a mechanism to efficiently fund a pool of accounts at the start of the integration test and merge them back into friendbot at the end. This means I can integration test quickly and often, without having an impact on FriendBot funds.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scala"&gt;&lt;code&gt;  &lt;span class="c1"&gt;// Test setup&lt;/span&gt;
  &lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;testAccounts&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;TestAccounts&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;quantity&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;beforeAll&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;testAccounts&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;open&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt;
  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;afterAll&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;testAccounts&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;close&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt;

  &lt;span class="c1"&gt;// Then, in the test:&lt;/span&gt;
  &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;List&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;senderKey&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;recipientKey&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;testAccounts&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;take&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;SDK Rebuild&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The SDK rebuild has friendbot support! The SDK will check the Horizon root document to determine if FriendBot is supported and what its URL is. If present, it will use that to create and fund the account.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scala"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Funding an account on testnet&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;horizon&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;Horizon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;sync&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;Horizon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;Endpoints&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;Test&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;seed&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;Seed&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;random&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="nv"&gt;response&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;horizon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;friendbot&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;create&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;seed&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="py"&gt;accountId&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🍕 &lt;strong&gt;Planned (Jun-Aug)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEP-0007 - URI Scheme to Facilitate Delegated Signing&lt;/li&gt;
&lt;li&gt;SEP-0010 - Stellar Web Authentication&lt;/li&gt;
&lt;li&gt;Ongoing SDK rebuild effort.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Scala+Stellar Weekly Update June 14, 2020</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sun, 14 Jun 2020 07:38:48 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-weekly-update-june-14-2020-13hm</link>
      <guid>https://dev.to/jemmawson/scala-stellar-weekly-update-june-14-2020-13hm</guid>
      <description>&lt;p&gt;🧠 Thinking about&lt;/p&gt;

&lt;p&gt;There are many ecosystem proposals (SEPs) that are not yet supported by the SDK. The experience this week starting to implement SEP-7 highlights how it would be valuable to implement these even before they are finalised. Building them as a reference implementation would help to identify missing edge cases before they are locked in stone. In particular, the &lt;code&gt;replace&lt;/code&gt; field in SEP 7, which is a declaration of transaction fields values that a user must provide whilst signing, is &lt;a href="https://github.com/stellar/stellar-protocol/issues/644"&gt;slightly ambiguous in its format definition&lt;/a&gt;. I think I should attempt to work on promising/interesting SEPs before they get the stamp of approval.&lt;/p&gt;

&lt;p&gt;🔙 Last Week&lt;/p&gt;

&lt;p&gt;Reverted support for multiplexed accounts, as this is not yet an approved protocol change. Released this in &lt;a href="https://github.com/Synesso/scala-stellar-sdk/releases/tag/v0.12.2"&gt;v0.12.2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Started implementing &lt;a href="https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0007.md#preamble"&gt;SEP 7&lt;/a&gt;, with methods for generating and parsing transaction signing request URIs. Support is done for &lt;code&gt;xdr&lt;/code&gt; and &lt;code&gt;replace&lt;/code&gt; arguments.&lt;/p&gt;

&lt;p&gt;Updated the integration test docker image to use the newly released &lt;a href="https://hub.docker.com/layers/synesso/stellar/v1.4.0-core13.1.0/images/sha256-d79d470262ca4a5613f0077d407a09e5b741a60302f2577d1653e0777938e984?context=explore"&gt;Horizon v1.4.0&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Shared a &lt;a href="https://github.com/stellar/docker-stellar-core-horizon/pull/184"&gt;Github Actions recipe&lt;/a&gt; for automatically building &amp;amp; pushing the quickstart docker image to dockerhub.&lt;/p&gt;

&lt;p&gt;🍕 Planned (Jun-Aug)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEP-0007 - URI Scheme to Facilitate Delegated Signing&lt;/li&gt;
&lt;li&gt;SEP-0010 - Stellar Web Authentication&lt;/li&gt;
&lt;li&gt;Ongoing SDK rebuild effort.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Scala+Stellar Weekly Update June 7, 2020</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sun, 07 Jun 2020 12:26:03 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-weekly-update-june-7-2020-e9a</link>
      <guid>https://dev.to/jemmawson/scala-stellar-weekly-update-june-7-2020-e9a</guid>
      <description>&lt;p&gt;Hi! 👋 This is the very first update for the Scala Stellar SDK. I hope to make some progress each week (even if it is just planning) and report on that progress publicly.&lt;/p&gt;

&lt;p&gt;🧠 &lt;strong&gt;Thinking about&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The previous week has seen big strides made in the &lt;a href="https://github.com/Synesso/scala-stellar#stellar-for-scala"&gt;SDK rebuild&lt;/a&gt;. I'm really enjoying implementing vertical slices, with a focus on the most important functionality and accentuating usability. I'm wondering how long it will take to achieve parity with the existing SDK, and how best to balance efforts between the new initiative and the existing one.&lt;/p&gt;

&lt;p&gt;I watched &lt;a href="https://www.youtube.com/watch?v=r8xCmCq1muE"&gt;Charlie Shrem's interview with Jed&lt;/a&gt;. It was really enjoyable. Early on Jed talks about his life-long focus on making useful things for people. Stellar's utility, and focus on worldwide financial inclusion is why was drawn to work on my little corner of it. I'm focusing on the SDK rebuild in order to improve on some of the mistakes of the first build and to provide an API that would best enable Scala developers to build interoperable payments applications.&lt;/p&gt;

&lt;p&gt;🔙 &lt;strong&gt;Last Week&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This week has been solely focused on the SDK rebuild:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Implemented the core &lt;code&gt;Horizon&lt;/code&gt; type that can be constructed for different Horizon endpoints, but also for different effect types. Core Scala effect types are the first to be supported, with blocking (&lt;code&gt;Try&lt;/code&gt;) and async (&lt;code&gt;Future&lt;/code&gt;) methods out of the box.&lt;/li&gt;
&lt;li&gt;The first target is to enable a payment transaction. To that end, I've implemented two query endpoints.

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Server capabilities&lt;/strong&gt; - Primarily to find out what protocol version is in effect and whether Friendbot is enabled. (For now I'm considering to use testnet rather than the docker image, as the latter has a 5 minute start-up time).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Account details&lt;/strong&gt; - To get the sequence id.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;I beefed up the &lt;a href="https://github.com/Synesso/scala-stellar/tree/master/horizon#stellar-for-scala--horizon"&gt;README for the horizon sub-project&lt;/a&gt; and enabled &lt;a href="https://synesso.github.io/scala-stellar/api/"&gt;scaladoc publishing&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Tested artifact publishing with jitpack&lt;/li&gt;
&lt;li&gt;Created an &lt;a href="https://github.com/Synesso/scala-stellar-horizon-exemplar#scala-stellar--horizon-exemplar"&gt;exemplar project&lt;/a&gt; for getting started.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🍕 &lt;strong&gt;Planned (Jun-Aug)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEP-0007 - URI Scheme to Facilitate Delegated Signing&lt;/li&gt;
&lt;li&gt;SEP-0010 - Stellar Web Authentication&lt;/li&gt;
&lt;li&gt;Ongoing SDK rebuild effort.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;✊&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Scala Stellar SDK Roadmap</title>
      <dc:creator>Beetbix</dc:creator>
      <pubDate>Sat, 29 Jun 2019 05:06:08 +0000</pubDate>
      <link>https://dev.to/jemmawson/scala-stellar-sdk-roadmap-2p5o</link>
      <guid>https://dev.to/jemmawson/scala-stellar-sdk-roadmap-2p5o</guid>
      <description>&lt;p&gt;A year and a half ago, I started the &lt;a href="https://github.com/synesso/scala-stellar-sdk#stellar-sdk-for-scala" rel="noopener noreferrer"&gt;Scala Stellar SDK&lt;/a&gt; to provide a way for Scala developers to build on the Stellar network in a natural and idiomatic fashion. As it stands today, the SDK enables application access to Stellar networks to build and submit transactions, query the state of the network and stream updates. &lt;/p&gt;

&lt;p&gt;The primary goals of the SDK are to continue to build out developer-centric APIs whilst maintaining 100% test coverage. The project is committed to continuing to improve the developer experience, in order to maximize the utility of the Stellar network.&lt;/p&gt;

&lt;p&gt;So, where to from here? &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fkaicpuz9cdt562asfwod.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fkaicpuz9cdt562asfwod.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Query API endpoints last mile.&lt;/strong&gt;&lt;br&gt;
As it stands, the SDK provides access to &lt;em&gt;almost&lt;/em&gt; all API endpoints. The first order of business is to complete coverage for the outstanding access points - &lt;a href="https://www.stellar.org/developers/horizon/reference/endpoints/trade_aggregations.html" rel="noopener noreferrer"&gt;Trade Aggregations&lt;/a&gt;, &lt;a href="https://www.stellar.org/developers/horizon/reference/endpoints/path-finding.html" rel="noopener noreferrer"&gt;Payment Pathfinding&lt;/a&gt; and full &lt;a href="https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0001.md#simple-summary" rel="noopener noreferrer"&gt;TOML support&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Error recovery conveniences.&lt;/strong&gt;&lt;br&gt;
By the end of Q3, the project will introduce more conveniences around error handling. Developers should be able to specify that some of the mechanics of transacting via Horizon are automated, such as automatic fetching and refresh of account sequence numbers, and automated retry of failed transactions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;High-level transaction API.&lt;/strong&gt;&lt;br&gt;
Later in the year, the focus will shift to introducing a new high-level API. Right now, the SDK has a fully-featured API with all the necessary abstractions to build and submit transactions. But there is a need to build a simpler API on top of this that developers can use to rapidly perform common operations (such as account creation, payments and making offers), without having to specify and tweak the finer details. The Pareto principle definitely applies here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important ecosystem functionality.&lt;/strong&gt;&lt;br&gt;
The fun of implementing SEPs (Stellar Ecosystem Proposal) for &lt;a href="https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0005.md#simple-summary" rel="noopener noreferrer"&gt;Key Derivation&lt;/a&gt;, &lt;a href="https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0007.md#simple-summary" rel="noopener noreferrer"&gt;Delegated Signing&lt;/a&gt; and &lt;a href="https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0010.md#simple-summary" rel="noopener noreferrer"&gt;Web Authentication&lt;/a&gt; begins after that. &lt;/p&gt;

&lt;p&gt;There are more plans afoot, and I'll write about those too in the future.&lt;/p&gt;

&lt;p&gt;If you're an active (or aspiring) Scala developer interested in building on a &lt;a href="https://stellar.org/" rel="noopener noreferrer"&gt;rock-solid, payments-oriented, distributed platform&lt;/a&gt;, you should definitely take a look at this project. If your goal is to write Stellar applications in Scala, or even to help build out the future of the SDK itself, then I would love to hear from you. Get in touch via &lt;a href="https://keybase.io/team/stellar.public" rel="noopener noreferrer"&gt;KeyBase&lt;/a&gt;, &lt;a href="https://github.com/Synesso/scala-stellar-sdk" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; or &lt;a href="https://gitter.im/scala-stellar-sdk/community" rel="noopener noreferrer"&gt;Gitter&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
