Cardano
$0.04434 -0.47%
ADA · 10w

Emurgo open sources a Cardano React Native library for anybody who wants to build mobile applications

react-native-cardano Getting started

$ npm install react-native-cardano --save

Installing Rust

$ curl https://sh.rustup.rs -sSf | sh

Follow instructions. Restart Terminal application after installation (PATH should be updated)

Install Rust targets and tools for iOS Install build targets: $ rustup target add aarch64-apple-ios armv7-apple-ios armv7s-apple-ios x86_64-apple-ios i386-apple-ios Install cargo-lipo for building: $ cargo install cargo-lipo Install Rust targets for Android

$ rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

Android NDK should be installed for Android. Check that local.properties file in android folder has ndk.dir property and it's path is correct.

Mostly automatic installation

$ react-native link react-native-cardano

Manual installation iOS In XCode, in the project navigator, right click Libraries ➜ Add Files to [your project's name] Go to node_modules ➜ react-native-cardano and add RNCardano.xcodeproj In XCode, in the project navigator, select your project. Add libRNCardano.a to your project's Build Phases ➜ Link Binary With Libraries Run your project (Cmd+R) Android Open up android/app/src/main/java/[...]/MainActivity.java Add import io.crossroad.rnardano.CardanoPackage; to the imports at the top of the file Add new CardanoPackage() to the list returned by the getPackages() method Append the following lines to android/settings.gradle: include ':react-native-cardano' project(':react-native-cardano').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-cardano/android') Insert the following lines inside the dependencies block in android/app/build.gradle: compile project(':react-native-cardano') Usage import { Wallet, HdWallet, RandomAddressChecker, PasswordProtect } from 'react-native-cardano'; Wallet .checkAddress( "DdzFFzCqrhtCUjHyzgvgigwA5soBgDxpc8WfnG1RGhrsRrWMV8u...
Continue on github.com
Recent news
ADA -0.47% · twitter.com · 6h

Charles Hoskinson: As we are getting closer to the stake pool testnet for Shelley, I'd love for the community to assemble a workgroup to draft some best practices for pool operators and open infographics to help people select or start a pool. Let's crowdsource this initiative. Any volunteers?

As we are getting closer to the stake pool testnet for Shelley, I'd love for the community to assemble a workgroup to draft some best practices for pool operators and open infographics to help people ...
ADA -0.47% · forbes.com · 6h

Absolutely huge crypto news in Wyoming.

Wyoming is setting new legal precedents for the classification of cryptocurrencies in a bid to offer clarity to businesses and users of blockchain and digital assets.
ADA -0.47% · twitter.com · 6h

Wyoming drops biggest crypto regulation news ever.

1/ TWEETSTORM about #Wyoming’s BIG REVEAL. This is long & info-packed, so buckle in. My native state is about to do bigger things for #blockchain, & the sector is about to pay Wyoming back big...
ADA -0.47% · twitter.com · 7h

Charles Hoskinson: Always and I always will keep that philosophy. The highest achievement in business is to make the world better with a sustainable business model. This is and will always be the core of IOHK and my work in cryptocurrencies. Our company has been dedicated to this since 2015

Always and I always will keep that philosophy. The highest achievement in business is to make the world better with a sustainable business model. This is and will always be the core of IOHK and my wor...
ADA -0.47% · twitter.com · 8h

Vantuz Subhuman: ‼️ SECURITY ALERT ‼️ Some users in #Cardano community received DMs (on telegram or other platforms), about fake Daedalus updates! Ignore and (if possible) report these messages as spam/scam. NEVER install any software you receive from unverified sources! ⚠️

‼️ SECURITY ALERT ‼️Some users in #Cardano community received DMs (on telegram or other platforms), about fake Daedalus updates! Ignore and (if possible) report these messages as spam/scam. NEVER inst...
ADA -0.47% · twitter.com · 8h

We are here to change the world

We are here to support #Cardano achieve the goal of becoming a financial operating system, because the world needs it. pic.twitter.com/7VGWMrACtG— Andromeda Pool (@AndromedaPool) January 18, 2019
ADA -0.47% · twitter.com · 11h

Katsumoto: Great news for all the $crypto enthusiasts who’re on #Android! @atomicwallet just announced they’ve released #Atomic wallet for the @Android platform. And $ADA will be supported somewhere next week. 😃🔥 #Cardano #cardanocommunity #ada #adoption

Great news for all the $crypto enthusiasts who’re on #Android! ⁦@atomicwallet⁩ just announced they’ve released #Atomic wallet for the ⁦@Android⁩ platform. And $ADA will be supported somewhere next wee...
ADA -0.47% · twitter.com · 20h

When @WeissRatings starts tweeting things like this #Cardano Blockchain / #Ada community @emurgo_io @IOHK_Charles @_CryptoReporter @Cardano @CardanoStiftung starts cheering. Formally verifying code should be standard. Communities should demand this by default. The #Cardano way!

When @WeissRatings starts tweeting things like this #Cardano Blockchain / #Ada community @emurgo_io @IOHK_Charles @_CryptoReporter @Cardano @CardanoStiftung starts cheering. Formally verifying code sh...