nemlibrary.com

On sunday, 30th of July 2017, we shared the NEM Library Angular2 seed with the community. So far, we have received a lot of support, comments and ideas about how to extend the project; there are people planning to start projects using the seed 😍. We are grateful for all this feedback and we are looking forward to see the evolution of this project in the near futures.

However, things move fast and today we want to share with you the NEM Library Ionic2 seed, a project that will complement the angular seed and enable app developers to code and build apps using NEM Blockchain.

As mentioned in the previous post, the goals of the Angular2 and Ionic2 seed projects are:

Help new developers start coding with NEM Blockchain using the seeds and understanding how NEM works, as well as which are the main NEM functionalities and benefits.

using the seeds and understanding how NEM works, as well as which are the main NEM functionalities and benefits. Allow developers bootstrap them NEM projects into an Angular and/or Ionic project.

into an Angular and/or Ionic project. Together with the community, extend this projects and add functionalities, making it become a huge NEM Blockchain knowledge base to help the two first goals.

Lets get into what’s inside this project!

In these project we are demostrating 2 functionalities at once, confirmed transactions for an address.

First, we need to introduce a testnet address.Then, clicking the fetch button we get the most recent 5 confirmed transactions. Basically, we are using the Confirmed Transaction paginated request of the NEM Library and we have added a button to get transactions in pages of 5. View source code.

On the other hand, every time a new transaction is confirmed, it is pushed on top of the list using the using the ConfirmedTransactionListener. View source code.

NEM Library Ionic2 seed screenshots

How to start playing with it 🤘

Project source code can be found in: https://github.com/guillemsole/nem-library-ionic2-seed

Fork the repo

Clone it, git clone git@github.com:<YOUR_ACCOUNT>/nem-library-ionic2-seed.git

Run it using in your web browser with command ionic serve .

. To run it on Android devices, connect the device, run the command: ionic platform add android. This will create the android project. Then run ionic build android — device to compile and launch the app on the device.

This will create the android project. Then run to compile and launch the app on the device. To run it on iOS devices you must be enrolled into the apple developers program. If you are not, youcan still run it on an apple computer simulator. Run the command ionic platform add ios, which creates the ios project, and then run ionic build ios to compile the code. Finally, run ionic emulate ios to launch the app on the simulator.

which creates the ios project, and then run to compile the code. Finally, run to launch the app on the simulator. Once everything is running extended it as you like 😊 In case of doubts or questions, send a message to Aleix and Me. We will love to accept pull requests and provide new functionalities.

Now that we have these two seed projects public, let’s take this to the next level 💪

Who we are

This project is being developed by Aleix and Guillem.

Join the NEM Development community here.