Superhero Wallet
Superhero is a multi-blockchain wallet to manage crypto assets and navigate the web3 and DeFi space. Powered by æternity.
Guides & Examples
Build
Clone the master branch of this repo.
$ git clone https://github.com/superhero-com/superhero-wallet.git
$ cd superhero-walletBuild locally
$ npm install
$ npm run build
$ npm run build:extension:ff # build firefox extension
$ npm run build:extension:chrome # build chrome extension
$ npm run build:extension # build firefox and chrome extensions
$ npm run build:web # build a web version
$ npm run build:android # to build android application
$ npm run build:ios # to build ios applicationDevelop locally
$ npm install
$ npm run watch # watch an extension
$ npm run serve # watch a web versionRun tests
$ npm install
$ npm run test:unit
$ npm run test:e2e
$ npm run test # to run both unit and e2e testsAdd to browser via local build or release zip
Chromium based (Chrome, Brave, Opera)
Open chrome/brave browser
Preferences -> More tools > ExtensionsMake sure
Developer modeisOnin the right corner.Click the
Load unpackedbutton and select the generateddistfolder in the cloned repo or the unarchived release folder.
Firefox
Open the Firefox menu and select
Add-onssection.Click the
Tools for all add-onsbutton and selectDebug Add-onsClick
Load a temporary add-onand navigate to the generateddistfolder in the cloned repo or the unarchived release folder and select themanifest.jsonfile.
Build Cordova version for production
iOS
create Xcode project by
npm run build:iosopen created project in Xcode
Go to TARGETS->App
open Signing & Capabilities
enable signing by the corresponding development team
ensure that
applinks:wallet.superhero.comis in Associated domains featureopen Build Settings
switch "Code Signing Identity => Release" and "Code Signing Identity => Release => Any iOS SDK" from "iOS Distribution" to "iOS Developer"
In the Info Tab ensure that you have the following permissions set. Privacy - Camera Usage Description, Privacy - Photo Library Usage Description and Privacy - Photo Library Additions Usage Description
Update in General Tab desired Release Version and Build Number
choose Product => Archive
In the organizer you can distribute app to Testflight and AppStore
Android
build a production version signed by the corresponding key (see):
npm run build:androidSecurity
If you discover a security vulnerability within this application, please get in touch with us. All security vulnerabilities will be promptly addressed.
Tooling
This project is tested with BrowserStack.
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!
Last updated
Was this helpful?