Be a crypto hero in the market by logging in

Don't you have an account? Sign in

Token price

  • BTC

    14,539,165.8KRW

    9.3%

  • ETH

    380,637.1KRW

    5.6%

  • XRP

    538.8KRW

    0.3%

  • BCH

    550,280.7KRW

    0.5%

  • LTC

    152,390.0KRW

    -1.8%

  • EOS

    7,556.1KRW

    -8.0%

  • BNB

    40,967.9KRW

    -2.4%

  • BSV

    236,189.6KRW

    -13.4%

  • USDT

    1,158.9KRW

    0.6%

  • ADA

    112.7KRW

    2.7%

  • TRX

    41.6KRW

    -5.7%

  • XLM

    142.6KRW

    0.1%

  • XMR

    119,326.4KRW

    -7.9%

  • DASH

    202,196.3KRW

    -0.8%

  • NEO

    21,531.8KRW

    -2.7%

  • ETC

    10,362.9KRW

    -1.8%

  • XEM

    112.4KRW

    7.2%

  • ONT

    1,887.6KRW

    -5.9%

  • ZEC

    126,269.6KRW

    4.5%

  • XTZ

    1,300.1KRW

    4.4%

  • MKR

    850,699.8KRW

    -0.8%

  • BTG

    34,715.9KRW

    -3.6%

  • QTUM

    5,805.7KRW

    -2.3%

  • VET

    9.4KRW

    -10.1%

  • DOGE

    3.8KRW

    -0.6%

  • BAT

    358.0KRW

    -1.8%

  • OMG

    3,143.9KRW

    11.0%

  • USDC

    1,170.5KRW

    1.3%

  • DCR

    38,991.7KRW

    6.6%

  • BCD

    1,520.6KRW

    -0.5%

  • LSK

    2,357.2KRW

    0.5%

  • WAVES

    2,607.9KRW

    -2.2%

  • RVN

    66.5KRW

    -8.9%

  • NPXS

    1.1KRW

    -0.0%

  • TUSD

    1,169.7KRW

    1.3%

  • HC

    5,536.2KRW

    -22.3%

  • AOA

    35.6KRW

    4.9%

  • BCN

    1.3KRW

    9.3%

  • REP

    20,507.6KRW

    1.1%

  • ZRX

    375.2KRW

    -2.7%

  • BTS

    79.5KRW

    -0.7%

  • HT

    4,309.6KRW

    -0.1%

  • BTM

    212.7KRW

    -3.1%

  • BTM

    212.7KRW

    -3.1%

  • NANO

    1,587.1KRW

    -3.9%

  • MONA

    3,160.6KRW

    -3.9%

  • DGB

    16.5KRW

    -3.0%

  • ZIL

    21.5KRW

    -7.8%

  • ICX

    393.8KRW

    2.2%

  • IOST

    15.3KRW

    -4.0%

  • LINK

    485.1KRW

    2.0%

  • AE

    625.3KRW

    -3.1%

  • PAX

    1,169.9KRW

    1.3%

  • DENT

    2.3KRW

    -17.7%

  • KMD

    1,434.5KRW

    -7.0%

  • XVG

    10.1KRW

    -5.3%

  • SC

    3.8KRW

    -0.9%

  • KCS

    1,757.6KRW

    -8.4%

  • STEEM

    474.6KRW

    -0.4%

  • XIN

    319,973.2KRW

    9.5%

  • XIN

    319,973.2KRW

    9.5%

  • ARDR

    140.1KRW

    -0.9%

  • THETA

    144.7KRW

    -7.8%

  • INB

    357.3KRW

    -13.9%

  • SNT

    35.9KRW

    3.1%

  • ELF

    246.4KRW

    -7.1%

  • MAID

    253.9KRW

    1.0%

  • ENJ

    147.2KRW

    -5.9%

  • STRAT

    1,111.9KRW

    -1.6%

  • MCO

    6,968.8KRW

    -19.0%

  • GNT

    113.4KRW

    3.3%

  • XZC

    13,753.5KRW

    -6.5%

  • WAX

    103.6KRW

    -7.5%

  • DAI

    1,126.9KRW

    -2.4%

  • PAI

    57.9KRW

    -6.3%

  • PAI

    57.9KRW

    -6.3%

  • ELA

    5,153.4KRW

    8.9%

  • NEXO

    135.9KRW

    -4.8%

  • QNT

    7,667.7KRW

    -12.7%

  • WTC

    1,783.7KRW

    -0.1%

  • ODE

    321.3KRW

    -10.1%

  • CNX

    1,299.2KRW

    -7.5%

  • RDD

    2.5KRW

    -13.3%

  • LRC

    72.3KRW

    1.1%

  • LOOM

    79.8KRW

    -5.9%

  • ARK

    549.5KRW

    -5.2%

  • FCT

    6,328.5KRW

    -6.8%

  • REPO

    539.7KRW

    49.2%

  • R

    120.2KRW

    -2.7%

  • BNT

    933.0KRW

    2.7%

  • ETN

    5.7KRW

    -10.4%

  • POWR

    133.2KRW

    -1.4%

  • AION

    160.9KRW

    -1.1%

  • PPT

    931.7KRW

    -10.5%

  • PIVX

    815.9KRW

    -2.2%

  • POLY

    102.8KRW

    -2.9%

  • MOAC

    688.4KRW

    -1.7%

  • PAY

    257.3KRW

    -8.5%

  • COSM

    41.0KRW

    -8.1%

  • TTC

    126.5KRW

    2.8%

  • CPT

    9.2KRW

    -7.3%

  • GUSD

    1,161.6KRW

    0.3%

  • HUM

    0.5KRW

    -5.6%

  • LKY

    373.6KRW

    --%

  • AERGO

    179.0KRW

    -9.1%

  • ANT

    603.4KRW

    -2.2%

  • TEMCO

    4.2KRW

    -4.4%

  • PTON

    1.0KRW

    54.1%

  • ABL

    30.8KRW

    9.3%

  • MVL

    1.0KRW

    -1.6%

  • APIS

    1.2KRW

    -34.6%

  • VRA

    1.1KRW

    -7.3%

  • BAAS

    1.1KRW

    1.1%

  • AID

    19.3KRW

    10.4%

  • DCC

    0.8KRW

    --%

  • PUB

    1.7KRW

    51.6%

  • eDEL

    2.4KRW

    -0.7%

  • WET

    14.6KRW

    -20.6%

  • HORUS

    2.6KRW

    -25.2%

  • XRA

    11.6KRW

    12.6%

  • SEAL

    1.6KRW

    9.8%

  • KARMA

    0.2KRW

    1.3%

  • PUT

    12.5KRW

    -3.5%

  • KNT

    0.4KRW

    85.3%

  • NPER

    3.4KRW

    --%

  • IQ

    35.8KRW

    34.8%

  • RBTC

    14,487,528.0KRW

    9.0%

  • BLACK

    2.4KRW

    -29.8%

  • CET

    26.6KRW

    -9.4%

  • MEETONE

    4.4KRW

    -5.5%

  • RCD

    3.0KRW

    --%

  • MCC

    12.9KRW

    -5.1%

  • INC

    40.9KRW

    -7.8%

  • FNB

    235.1KRW

    -2.5%

  • BZKY

    0.4KRW

    362.8%

  • BORA

    59.1KRW

    -18.0%

  • CRE

    4.0KRW

    3.2%

Community

EOSIO™ Software Release: Native SDKs for Swift and Java

EOS | 05.17| 41

New Open Source Tools to Create First-Class Mobile Experiences on EOSIO™

In a very short period of time, we’ve witnessed an explosion of innovative EOSIO web applications due in large part to libraries like EOSJS. EOSJS, with over 5,000 weekly downloads, provides JavaScript developers with the tools they need for interacting with EOSIO blockchains, and for realizing the promise of blockchain technology for users around the world.

As we all know, however, users are spending more of their time on mobile devices in native applications. This is largely because native apps are often able to provide richer, more engaging experiences than their browser-based counterparts. Today, native mobile applications are a crucial component of consumer-facing product strategies.

It is for this reason that we are excited to announce the alpha release of two new open source EOSIO tools to enhance native mobile application development on EOSIO, an EOSIO SDK for Swift and EOSIO SDK for Java.

Developer Convenience, Flexible Architecture

These Software Development Kits (SDKs) provide native APIs for interacting with EOSIO blockchains; creating, signing and broadcasting transactions; handling keys and obtaining signatures; data serialization/deserialization, and more.

And by targeting both the Java and Swift programming languages, we’re bringing these capabilities to the most popular mobile platforms — Android and iOS — contributing to what we hope will be a proliferation of compelling, native EOSIO-powered experiences for mobile users everywhere.

These SDKs employ a concept borrowed from EOSJS that provide a great deal of flexibility for a variety of use cases and environments — that of independent, interchangeable providers that plug into one core library.

The Core Libraries

The core EOSIO SDK for Swift and EOSIO SDK for Java libraries are responsible for facilitating the transaction lifecycle. They provide developers with easy and idiomatic ways of creating and working with transactions, collecting the necessary signatures, and preparing and broadcasting those transactions to EOSIO nodes. Much of the heavy lifting, however, takes place in the providers that are plugged into it.

The Signature Provider

The Signature Provider is arguably the most flexible of all of the provider abstractions. It is responsible for a) finding out what keys are available for signing and b) requesting and obtaining the signatures required for the transaction.

How it goes about executing that, though, is entirely up to the particular signature provider the developer has chosen to “plug in” for that transaction. By simply switching out the signature provider, signature requests can be routed in any number of ways.

A signature provider is able to carry out a number of useful functions. For example, anyone who needed a signature from keys in the platform’s key store or secure hardware signing element can simply configure the transaction with a signature provider that does it. The same goes for needing signatures from a wallet app running on a user’s device, which a signature provider can also perform.

This is great news for both app developers and users. For developers, this feature means that depending on their selection of signature providers, they no longer have to be on the hook for handling and securing a user’s private keys. For users, it means that the apps they love can easily work with the wallet or authenticator of their choice, creating a win-win situation.

Along with the core libraries, we are releasing the following signatures providers, in alpha.

As always, we encourage others in the community to create and open source other signature providers.

For more information about the signature provider concept, check out our previous article: EOSJS Major Update V20.0.0 Beta: Entrusting key management to signature providers for a more secure future of javascript development for EOSIO

The RPC, ABI, and Serialization Providers

Transactions are also configured with RPC, ABI, and Serialization providers.

  • RPC Providers are responsible for all RPC calls to nodeos, as well as general network handling (reachability, retry and failover logic, etc.)
  • Serialization providers handle ABI-driven transaction and action serialization and deserialization between JSON and binary data representations
  • ABI providers are responsible for fetching and caching ABIs for use during serialization and deserialization

While the need to swap these providers is less frequent, the abstraction is still quite valuable, especially when it comes to one of these SDKs’ other value propositions — support for platforms other than mobile.

Mobile and Beyond

It is important to note that both Java and Swift are general purpose programming languages, and that they are not restricted to running on mobile platforms. In fact, Java, with its “write once, run anywhere” philosophy, precedes Android and is virtually ubiquitous.

With that in mind, we have purposefully set out to make the core SDK libraries as generic and platform agnostic as possible, relegating any platform-specific code to the individual provider libraries.

While we have only tested the alpha versions of EOSIO SDK for Java on the Android platform and EOSIO SDK for Swift on iOS, when instantiated with the right platform-compatible providers, the core library should run with little additional effort. We welcome the community to contribute by testing the core libraries on other platforms and creating issues and pull requests that improve compatibility with those platforms.

Get Started and Get Involved

We have several resources for those interested in using these libraries and/or contributing.

Example Apps

To help developers get started using these new SDKs, we have created both iOS and Android example applications. These examples are simple demonstrations of how to integrate with EOSIO-based blockchains using the EOSIO SDKs. The applications do two things: they fetch your account token balance and push a transfer action.

Documentation

Stay Connected

If you are interested in providing feedback and working more closely with our team to improve the EOSIO for developers, you can send our developer relations team an email at developers@block.one.

You can also keep up to date with future updates by subscribing to our mailing list on the EOSIO Developer Portal. We are excited to be regularly improving the usability of the software for EOSIO developers as we continue to lay a foundation for the mass adoption of blockchain technology.

. . .

All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Disclaimer: Block.one makes its contribution on a voluntary basis as a member of the EOSIO community and is not responsible for ensuring the overall performance of the software or any related applications. We make no representation, warranty, guarantee or undertaking in respect of the releases described here, the related GitHub release, the EOSIO software or any related documentation, whether expressed or implied, including but not limited to the warranties or merchantability, fitness for a particular purpose and noninfringement. In no event shall we be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or documentation or the use or other dealings in the software or documentation. Any test results or performance figures are indicative and will not reflect performance under all conditions. Any reference to any third party or third-party product, resource or service is not an endorsement or recommendation by Block.one. We are not responsible, and disclaim any and all responsibility and liability, for your use of or reliance on any of these resources. Third-party resources may be updated, changed or terminated at any time, so the information here may be out of date or inaccurate. Any person using or offering this software in connection with providing software, goods or services to third parties shall advise such third parties of these license terms, disclaimers and exclusions of liability. Block.one, EOSIO, EOSIO Labs, EOS, the heptahedron and associated logos are trademarks of Block.one. All other trademarks referenced herein are the property of their respective owners.


EOSIO™ Software Release: Native SDKs for Swift and Java was originally published in eosio on Medium, where people are continuing the conversation by highlighting and responding to this story.

Comment 0

delete

Are you sure you want to delete this post?