Superhero Wallet
Superhero is a browser extension that allows you to send and receive value to URLs and content producers across the internet.
Build
Clone the master branch of this repo.
$ git clone https://github.com/aeternity/superhero-wallet.git
$ cd superhero-wallet
Build locally
$ npm install
$ npm run build
$ npm run build:cordova # build a Cordova version
$ npm run build:extension # build an extension
$ npm run build:web # build a web version
$ npm run gen:cordova-resources
$ npx cordova build/run android/ios # to build Cordova application
Develop locally
$ npm install
$ npm run watch # watch an extension
$ npm run serve # watch a web version
Run tests
$ npm install
$ npm run test:unit
$ npm run test:e2e
$ npm run test # to run both unit and e2e tests
Add to browser via local build or release zip
- Chromium based (Chrome, Brave, Opera)
- Open chrome/brave browser
Preferences -> More tools > Extensions
- Make sure
Developer mode
isOn
in the right corner. - Click the
Load unpacked
button and select the generateddist
folder in the cloned repo or the unarchived release folder.
- Firefox
- Open the Firefox menu and select
Add-ons
section. - Click the
Tools for all add-ons
button and selectDebug Add-ons
- Click
Load a temorary add-on
and navigate to the generateddist
folder in the cloned repo or the unarchived release folder and select themanifest.json
file.
Build Cordova version for production
iOS
- create Xcode project by
cordova prepare ios
- open created project in Xcode
- open Signing & Capabilities
- enable signing by the corresponding development team
- ensure that
applinks:wallet.superhero.com
is in Associated domains feature - open Build Settings
- switch "Code Signing Identity => Release" and "Code Signing Identity => Release => Any iOS SDK" from "iOS Distribution" to "iOS Developer"
- choose Product => Archive and follow the instructions
Android
build a production version signed by the corresponding key:
cordova build android --release --buildConfig=myBuildConfig.json
Security
If you discover a security vulnerability within this application, please get in touch with us. All security vulnerabilities will be promptly addressed.
Contribution
Contributions are more than welcome.
If you spot an issue while testing/using the extension - submit an issue
If you want to help us with building this amazing project submit your PR!