GithubHelp home page GithubHelp logo

kineita / safe-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from safe-global/safe-android

0.0 0.0 0.0 14.89 MB

πŸ” App to manage and interact with Safe

Home Page: https://safe.global

License: GNU General Public License v3.0

Shell 0.35% Kotlin 99.65%

safe-android's Introduction

Safe Android App

Goal

The Safe aims to provide all users with a convenient, yet secure way to manage their funds and interact with decentralized applications on Ethereum. Transactions are secured by on-chain multi-factor-authentication. This is achieved by using the Safe smart contracts. They are the successor of the broadly trusted Gnosis Multisig Wallet smart contracts).

Setup

Infura

The Json RPC depends on Infura. You need to get an API key and create a file named project_keys with the following contents:

INFURA_API_KEY=<YOUR_PROJECT_ID>

Replace <YOUR_PROJECT_ID> with the project id that you get from Infura. You can find this project id at Projects -> Settings -> Keys -> PROJECT ID on the Infura Website.

Firebase

The Safe Android App uses Firebase and your build will fail if you don't have the google-services.json file. To get this file, you need to create a Firebase project at https://console.firebase.google.com/ and add at least one Android application. If you didn't change the applicationId in app/build.gradle you need to create an app with the package name io.gnosis.safe.debug to be able to build a debug app. You can find the latest google-services.json file in the Project Settings -> General

After downloading the file, copy it to the app module folder.

Contribute

You can contribute to this repo by creating a Pull Request or an issue. Please follow the default template set for the Pull Requests.

Code Style

Make sure that you apply the Kotlin coding conventions and use the style schema in this repo with Android Studio.

Also always add newlines at the end of files. This can be enforced by Android Studio. For this enable Editor -> General -> Ensure line feed … (Under the β€œOthers” section).

CI Setup

Travis is used for continuous integration. It requires the google-services.json and debug-upload.jks. These need to be encrypted into a single file using the travis cli.

tar cvf secrets.tar gnosis-upload.jks app/google-services.json app/src/rinkeby/google-services.json app/src/release/google-services.json
travis encrypt-file secrets.tar

Release Process

See our Release steps on how to prepare a release.

safe-android's People

Contributors

elgatovital avatar fmrsabino avatar rmeissner avatar biafra23 avatar jpalvarezl avatar dmitrybespalov avatar zhiying-fan avatar johnnyjumper avatar tschubotz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.