AlphaWallet - Advanced, Open Source Ethereum Mobile Wallet & dApp Browser for iOS
AlphaWallet is an open source programmable blockchain apps platform. It's compatible with tokenisation framework TokenScript, offering businesses and their users in-depth token interaction, a clean white label user experience and advanced security options. Supports all Ethereum based networks.
AlphaWallet and TokenScript have been used by tokenisation projects like FIFA and UEFA’s blockchain tickets, Bartercard’s Qoin ecommerce ecosystem, several Automobiles’ car ownership portal and many more.
⭐ Star us on GitHub — it helps!
Table of Contents
About AlphaWallet - Features
Easy to use and secure open source Ethereum wallet for iOS and Android, with native ERC20, ERC721 and ERC875 support. AlphaWallet supports all Ethereum based networks: Ethereum, xDai, Ethereum Classic, POA, Ropsten, Goerli, Kovan, Rinkeby and Sokol.
- Beginner Friendly
- Secure Enclave Security
- Web3 dApp Browser
- TokenScript Enabled
- Interact with DeFi, DAO and Games with SmartTokens
- No hidden fees or tech background needed
AlphaWallet Is A Token Wallet
AlphaWallet's focus is to provide an interface to interact with Ethereum Tokens in an intuitive, simple and full featured manner. This is what sets us aside from other open source ethereum wallets.
Select Use Cases
Full TokenScript Support
With TokenScript, you can extend your Token’s capabilities to become "smart" and secure, enabling a mobile-native user experience 📱
“SmartTokens” are traditional fungible and non fungible tokens that are extended with business logic, run natively inside the app and come with signed code to prevent tampering or phishing. It allows you to realise rich functions that Dapps previously struggled to implement. With SmartTokens you can get your token on iOS and Android in real time without the need to build your own ethereum wallet.
AlphaWallet is the “browser” for users to access these SmartTokens. You can get the most out of your use case implementation... without leaving the wallet.
Visit TokenScript Documentation or see TokenScript Examples to learn what you can do with it.
Philosophy
AlphaWallet is founded by blockchain geeks, business professionals who believe blockchain technology will have a massive impact on the future and change the landscape of technology in general.
We are committed to connecting businesses and consumers with the new digital economic infrastructure through tokenisation. Tokenised rights can be traded on the market and integrated across systems, forming a Frictionless Market and allowing limitless integration with the web.
We want to give businesses the whitelabel tools they need to develop their ethereum wallets, and join the tokenised economy.
Getting Started
- Download Xcode. Check here for the Xcode we are building with.
- Clone this repository
- Run
make bootstrap
to install tools and dependencies. - Open the
AlphaWallet.xcworkspace
file (notAlphaWallet.xcodeproj
) to begin.
If you get a "Bundle does not exist. Please install bundle." error, please consult with your macOS guru because a vital part of your system is missing.
This makefile has been tested to run on "Monterey"-12.0.1. It will not work on "Catalina" or "Big Sur".
Read INTRODUCTION-CODE.md.
Updating GemFile or Podfile
After the Gemfile is updated, run make install_gems
to update the gems in the vendor/bundle directory.
After the Podfile is updated, run make install_pods
to update the pods in the Pods directory.
Add your token to AlphaWallet
if you want to add your token you can use one of functions of ImportToken
class. It allows used to import your own erc
token
func importToken(token: ERCToken, shouldUpdateBalance: Bool = true) -> Token
or import token by resolving contract fields name, symbol, decimals ...
by passing Contract Address and RPCServer.
func importToken(for contract: AlphaWallet.Address, server: RPCServer, onlyIfThereIsABalance: Bool = false) -> Promise<Token>
If you’d like to include TokenScript and extend your token functionalities, please refer to TokenScript.
Add dApp to the “Discover dApps” section in the browser
Submit a PR to the following file: https://github.com/AlphaWallet/alpha-wallet-ios/blob/master/AlphaWallet/Browser/ViewModel/Dapps.swift
Unfortunately the app store forbade us from listing dapps, so this list is not currently used. It is still maintained in this repo, but in the meantime this will not be visible in the app. We hope to bring this back in the future.
Replace API Keys
API keys are stored in the file modules/AlphaWalletFoundation/AlphaWalletFoundation/Settings/Types/Constants+Credentials.swift
. You can replace the keys for your own build. Tell git to ignore changes to that file by running:
git update-index --assume-unchanged modules/AlphaWalletFoundation/AlphaWalletFoundation/Settings/Types/Constants+Credentials.swift
Undo this with:
git update-index --no-assume-unchanged modules/AlphaWalletFoundation/AlphaWalletFoundation/Settings/Types/Constants+Credentials.swift
How to Contribute
You can submit feedback and report bugs as Github issues. Please be sure to include your operating system, device, version number, and steps to reproduce reported bugs.
All contibutions welcome. Please read CONTRIBUTING.md
Request or submit a feature 📮
Would you like to request a feature? Please get in touch with us Telegram, Twitter or through our community forums.
If you’d like to contribute code with a Pull Request, please make sure to follow code submission guidelines.
Spread the word 🐥
We want to connect businesses and consumers with the new digital economic infrastructure, where everyone can benefit from technology-enabled free markets. Help us spread the word:
To learn more about us, please check our Blog or join the conversation:
Contributors
Thank you to all the contributors! You are awesome.
License
AlphaWallet iOS is available under the MIT license. Free for commercial and non-commercial use.