Developer Update – August 19th

Welcome to this months Numio developer update! We have lots to unpack, so let’s dive right in.

Right off the top, let’s start with the Numio app. We announced the release of Numio v2.0.6 for Android. This was released on August 11th, 2021 and included a variety of enhancements.

The Numio App

This release introduces a useful privacy feature for users to control how their information is viewed in the application. In the users account settings screen, there is now a checkbox to allow you to hide your name and photo from search. Users can still find that user by searching their Numio ID (if they know it) in the case a P2P payment is wanted.

We added new tokens, UTU, and SEPA (Secure Pad) to Ethereum Layer 1 token lists, along with a handful of zkSync Layer 2 focused tokens for wallet support. Speaking of tokens, we recently published a tutorial on how to permissionlessly add tokens to zkSync and Numio, so they can be listed on Numio!

We have also introduced a handful of design and user interface enhancements with the wallet display, the custom keyboard when inputting token amounts, notification enhancements, performance enhancements and more.

In addition to 2.0.6 just being released, 2.0.7 is well underway and in the final phases of testing with another round of enhancements to roll out is right around the corner.

 

Login With Numio

We recently welcomed a new login integration! Welcome PhoenixDAO to the list of websites, platforms and dApps supporting Login with Numio functionality – and a big congrats to the official launch of the DAO.

For those not familiar with Login with Numio, it uses a users unique biometrics to securely and instantly 2FA into a supported website/platform or application.

We have a public SDK and CDN you can use to integrate your own Numio authentication in your project – and it is simple to get started.

Here is a little look at the simple flow for authentication.

Trading with Paraswap

If you have been following Numio updates, you heard we are working on a in-app token swap integration with Paraswap which is coming in a future release. This integration is well underway are now testing certain functionalities on real devices.

The integration allows users of the Numio mobile app to quickly, and easily, swap one ERC-20 token for another. Thanks to Paraswaps DEX aggregation system, token swaps within Numio will be at the best rate possible.

Lot’s more to come on this in the next update.

Numio Developer Spotlight

From time to time we will share some insight and words from the Numio dev team. Here is our Blockchain Solutions Architect, Robert Magier with some insight into zkSync development.

zkSync is Layer 2 solution developed by Matter Labs. It solves Ethereum scalability with zero security compromises. Although it uses very complicated crypto-graphical functions to achieve its main requirements from a mobile applications point of view, it is very simple to use. We don’t have to worry at all about all this crypto stuff and we can just focus on things we really want to do. 

For example, in order to create an account on Layer 2 we have to follow few simple steps:

  1. Import zkSync api module
  2. Create zkSync provider object
  3. Create ethereum provider
  4. Create ethers wallet object
  5. Create zkWallet object
 
				
					//Import zksync module
const { Provider, types, utils, Wallet } = require('zksync');
//Import ethers
const ethers = require('ethers');
 
async function main() {
 
  	//create zkSync provider object
let zkProvider = await Provider.newHttpProvider('https://rinkeby-api.zksync.io/jsrpc');
//create ethereum provider object. We use infura here. 
let zkEthProvider = new ethers.providers.InfuraProvider('rinkeby', {
       projectId: ID,
       projectSecret: 'secret’,
   });
 
   const PK = 0xXXXXXsecretPK;
	//create normal ethereum wallet from existing Private Key
   let ethersWallet = new ethers.Wallet(PK, zkEthProvider);
 
   //Create zkSync Wallet object. 
   let zkWallet = await Wallet.fromEthSigner(ethersWallet, zkProvider);
}

				
			

After that we can execute all different kind of Layer 2 transactions. To make a deposit from Layer 1     to Layer 2 of 100 wei we execute function depositToSyncFromEthereum as below

				
					const depositData = {
       depositTo: ethersWallet.address,
       token: 'ETH',
       amount: '100',
};

let depositOperation = await zkWallet.depositToSyncFromEthereum(depositData);
				
			

To get Layer 2 balance we can execute:

				
					let balance = await zkWallet.getBalance('ETH');
   console.log('Balance:', balance.toString());
				
			

Till now it is pretty simple and straightforward. It gets a bit more complicated when we want to make a Layer2 Transfer or Withdraw our funds to Layer1. There is one additional step we have to execute before we can transfer and withdraw. In order to make an account capable of initiating L2 transactions, the user must set a signing key for it via ChangePubKey transaction. 

To set the signing key we call a function setSigningKey. To execute it we have to pay a fee, so we have to make sure we have sufficient funds on L2. 

				
					const inputData = {
  feeToken:‘ETH’,
  ethAuthType: <ChangePubkeyTypes>'ECDSA',
};

let changePubkey = await zkWallet.setSigningKey(inputData);
				
			

After that we can make a transfer to L2 or withdrawal to L1. 

This is how we make a transfer to L2.

				
					const transferData = {
       to: '0xXXXXXXX',
       token: 'ETH',
       amount: '100',
   };
 
await zkWallet.syncTransfer(transferData);

				
			

If you want to know more about using zkSync API you can read about it here: https://zksync.io/dev/

Thanks Robert!

Official Numio 2.0.6 Changelog

  • New interface for 3rd party Numio logins
  • New L1 tokens added: UTU and Secure Pad
  • New zkSync L2 tokens added
  • Hide me from search privacy feature
  • Wallet chart display enhancements
  • Custom keyboard number size increased for accessibility
  • Wallets now show deactivated tokens if not in wallet
  • zkSync web to Numio L2 notification enhancement
  • Login with Numio infinite loading animation fixed
  • Removing a wallet balance bug fixed
  • Splash screen enhancements on iOS and Android
  • Bottom navigation UI adjustments on Android
  • Other minor UI enhancements
  • Other Minor bug fixes

View our full Numio wallet Change Log here.

Closing

We hope you enjoyed learning about the development taking place at Numio.
If you haven’t already, check out our app and let us know what you think. We are welcome to constructive feedback as it makes us better. Join us to bring the next million people into crypto & DeFi! Download Numio on Android or iOS.

Tim Allard, CTO, Numio

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on LinkedIn

Categories

Categories

Signup to our Newsletter

Signup to our newsletter and stay up to date with our products and upcoming releases.

Download Numio

Numio is fast, cheap, and secure. Download for free and start saving money today.

Download Numio App

Get the Latest News from Numio

Sign up to our newsletter and stay up to date with our products and upcoming promotions.

Backed By

Copyright © 2021 Numio. All Rights Reserved.