Skip to content

Coinsence/coinsence-wallet

Repository files navigation

Coinsence ERC20 mobile wallet

Configuration

Clone the repo and open the directory:

git clone https://github.com/Coinsence/coinsence-wallet.git
cd coinsence-wallet

Setup API's keys inside src/environments/environment.ts

  export const environment = {
    apiEtherscanRinkeby: {
      url: 'https://api-rinkeby.etherscan.io/api',
      apiKey: ''
    },
    apiEthplorerMainnet: {
      url: 'https://api.ethplorer.io',
      apiKey: ''
    }
  }

Testing in a Browser

Note: This method should only be used for development purposes. When running Coinsence wallet in a normal browser environment, browser extensions and other malicious code might have access to internal data and private keys. For production use, see the latest official releases.

Ensure you have Node installed, then install and start Coinsence wallet:

npm install
npm run start

Visit localhost:8100 to view the app.

Testing on Real Devices

It's recommended that all final testing be done on a real device – both to assess performance and to enable features that are unavailable to the emulator (e.g. a device camera).

Android

Follow the Cordova Android Platform Guide to set up your development environment.

When your developement enviroment is ready, run the start:android package script.

npm run prepare:coinsence
npm run start:android

iOS

Follow the Cordova iOS Platform Guide to set up your development environment.

When your developement enviroment is ready, run the start:ios package script.

npm run prepare:coinsence
npm run start:ios

Build Coinsence App APK

The final commands build the production version of the app

Android

npm install
npm run prepare:coinsence
npm run final:android

iOS

npm install
npm run prepare:coinsence
npm run final:ios

Build Coinsence App Bundle

Android

npm install
npm run prepare:coinsence
npm run build:android-bundle
npm run sign:android-bundle

About Coinsence Wallet

General

License

Coinsence Wallet is released under the MIT License. Please refer to the LICENSE file that accompanies this project for more information including complete terms and conditions.