Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
/ app Public archive

[DEPRECATED] The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard πŸ¦πŸ“Š

License

Notifications You must be signed in to change notification settings

spacemeshos/app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spacemesh logo Β 

Spacemesh App πŸ¦πŸ“Š

Browse Gitcoin Bounties

WARNING

This repo is depracted. The Spacemesh app is now developed here: smapp

The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard. This app is based on the Spacemesh Cosmic Apps Seed.

Design Concept

App Architecture

We are using Cosmic as the seed for this app. Please read-up on Cosmic app architecture before doing design and coding work on the app.

Getting Started

  • Please head over to the wiki and read the product requirements and deisgn docs
  • Join our Dev Gitter Chat
  • We are actively looking for contributors, collaborators and maintainers. Get in touch via Gitter

Setup

  1. Clone the repo
git clone https://github.com/spacemeshos/app.git
  1. Follow these instructions for setting up a React Native project dev environment

Install project dependencies

yarn install

Development builds

web

yarn web

Mobile

Remove all build directories (optional):

yarn clean-all

Generate android and ios builds:

yarn mobile

Serve App on Android Emulator:

yarn android

Serve App on iOS Simulator:

yarn ios

Start an Electron dev app session:

yarn electron-dev

Production builds

Mobile

yarn mobile

Web

yarn build

Desktop

yarn dist

Bundling for Android

yarn bundle-android

Building for OS X, Windows and Linux

yarn electron-pack

Android Dev Notes

  1. Follow the React Native instructions for installing Android dev tools

  2. Make sure you have JAVA_HOME env var set to the Java 8 JDK as well as your ANDROID_HOME

e.g: export JAVA_HOME=<path-to-your-jdk>/<jdk>/Contents/Home
export ANDROID_HOME=<path-to-your-android-sdk>
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
  1. Run the emulator with an Android 6 (with Google Play) device

  2. Update build-scripts/local.properties with the right path to your android sdk. Detailed instructions.

Tests

This seed uses Jest for unit testing and calabash-android for android automation testing.

Running Calabash Android Tests

  1. Install ruby
  2. Run bundle install
  3. Run bundle exec calabash-android run /path/to/android/apk/file

Running unit tests

yarn test

Known issues

  1. The name react-native was looked up in the Haste module map. Remove the haste-map- files from your tmp file and rebuild. For Linux rm -rf /tmp/haste-map-* For OSX
yarn cache clean
watchman watch-del-all
rm -rf $TMPDIR/metro-bundler-cache-*
rm -rf $TMPDIR/metro-cache-*
rm -rf $TMPDIR/react-native-packager-cache-*
rm -rf $TMPDIR/haste-map-metro-*

About

[DEPRECATED] The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard πŸ¦πŸ“Š

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published