Skip to content

Balance checking mobile / web app for Pandacoin (PND) wallet addresses

License

Notifications You must be signed in to change notification settings

psydrake/pandacoinBalance

Repository files navigation

Pandacoin PND Balance

About

Web / mobile app for checking the balance of your Pandacoin (PND) wallet address(es), as well as the currency value of Pandacoin.

Technical

Pandacoin PND Balance consists of two parts:

The front end communicates with the back end via JSONP calls. The backend polls cryptocoincharts.info every 10 minutes, and it stores this data in memcache for all subsequent client requests, in order to reduce load on the CryptoCoinCharts server. Wallet balance lookups from the Pandacoin (PND) Blockchain API occur on demand.

Project Structure

This project is organized to make use of the Cordova command line tools (version 3.1).

  • www - common web assets
  • merges/android - Android specific web assets to override those in www
  • merges/wp8 - Windows Phone 8 specific web assets to override those in www
  • platforms/android - Android specific files
  • platforms/wp8 - Windows Phone 8 specific files
  • webapp - files for hosted web app (Chrome, Firefox OS)
  • webapp/chrome - metadata files for the Chrome hosted web app, including the manifest and icons

Building and Running

I originally wrote this using Apache Cordova 2.9 solely for Android. I later reorganized it to use Apache Cordova 3.1 for multiple Operating Systems, and have been building and running the project using the Cordova 3.1 CLI.

If you don't have Cordova 3.1 installed, follow the CLI instructions. If you have an older version, you can upgrade. If, by the time you read this, there is a newer version of Cordova, you can probably use that :).

I have had success running the project on my physical Android phone. On the command line, within the project directory:

  • Android (plug your phone into your computer) - cordova run android --verbose

UPDATE: I updated cordova to version 3.5. Here are some issues that I've seen since then:

  • For Android: If you run cordova build android and get the error: "platforms/android/ant-build/AndroidManifest.xml:2: error: Error: Float types not allowed (at 'versionCode' with value 'NaN').", run the ./setVersion.sh script to overwrite the NaN value in that file.

Install On Your Device

Author

Drake Emko - drakee (a) gmail.com

About

Balance checking mobile / web app for Pandacoin (PND) wallet addresses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published