Skip to content

AlphaWallet/alpha-wallet-android

Repository files navigation

Gitpod ready-to-code

AlphaWallet - Advanced, Open Source Ethereum Mobile Wallet & dApp Browser for Android

Lint Unit test E2E Test Maintenance GitHub contributors MIT license

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!

alphawallet open source wallet android preview Get AlphaWallet Open Source Wallet on Google Play

About AlphaWallet - Features

Easy to use and secure open source Ethereum wallet for Android and iOS, with native ERC20, ERC721, ERC1155 and ERC875 support. AlphaWallet supports all Ethereum based networks: Ethereum, Gnosis, Ethereum Classic, Binance Smart Chain, Heco, Polygon, Avalanche, Fantom, L2 chains Optimistic, Arbitrum and Linea, and Palm. TestChains: Sepolia, Holesky, Goerli, Binance Test, Fuji (Avalanche test), Fantom Test, Polygon Test, Optimistic and Arbitrum Test, Cronos Test and Palm test.

  • 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

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

  1. Download Android Studio.
  2. Clone this repository
  3. Obtain a free Infura API key and replace the one in build.gradle
  4. Generate a GitHub Personal Access Token with read:packages, read:user permission
  5. Edit ~/.gradle/gradle.properties add blow properties:
gpr.user=Your GitHub Email
gpr.key=The GitHub Personal Access Token you created in previous step
  1. Build the project in AndroidStudio or Run ./gradlew build to install tools and dependencies. See BUILD.md for more details.

You can also build it from the commandline just like other Android apps. Note that JDK 17 is the version now supported by Android. We build with the JetBrains JDK.

Find more information in our available documentation.

Add your token to AlphaWallet

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-android/blob/master/app/src/main/assets/dapps_list.json

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.

How to customise the appearance of your wallet fork

If you are forking AlphaWallet, and have a token that you want to be locked visible this can now be done easily. Let's say we want to only show Ethereum Mainnet, and always show the USDC stablecoin.

class CustomViewSettings
{

...

    private static final List<TokenInfo> lockedTokens = Arrays.asList(
            // new TokenInfo(String TokenAddress, String TokenName, String TokenSymbol, int TokenDecimals, boolean isEnabled, long ChainId)
            new TokenInfo("0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "USD Coin", "USDC", 6, true, EthereumNetworkBase.MAINNET_ID)
    );
    
    private static final List<Integer> lockedChains = Arrays.asList(
            EthereumNetworkBase.MAINNET_ID
    );

Further, you may have your own Dapp that sells or uses the USDC that you want your users to use.

public static boolean minimiseBrowserURLBar() { return true; } //this removes the ability to enter URL's directly (they can be clicked on within your dapp)
public abstract class EthereumNetworkBase ...
{
    private static final String DEFAULT_HOMEPAGE = "https://my-awesome-nfts.com/usdc/";

If you are forking AlphaWallet and you have a cool Token, please consider donating a small amount of said Token to alphawallet.eth to help fund continuing development of the main repo.

Request or submit a feature 📮

Would you like to request a feature? Please get in touch with us Discord, 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:

share on linkedin share on twitter send via email share on reddit share on facebook

To learn more about us, please check our Blog or join the conversation:

Contributors

Thank you to all the contributors! You are awesome.


James Sangalli

💻

Victor Zhang

🤔

Hwee-Boon Yar

🤔

AW-STJ

📆

Tomek Nowak

🎨

Weiwu Zhang

💻

James Brown

💻

Roman Storm

🐛

justindg

💻

Marat Subkhankulov

💻

Maksim Rasputin

💻

Lucas Toledo

💻

Farrah Fazirah

💻

Chintan Rathod

💻

Liu Yue

💻

Peter Grassberger

💻

daboooooo

💻

Sergej Kunz

💻

Cory Smith

💻

Corey Caplan

💻

Philipp Rieger

💻

Tal Beja

💻

Alex Soong

💻

BTU Protocol

💻

Alex Tsankov

💻

Anna R

💻

TamirTian

💻

Andrew

💻

Ling

💻

Timur Badretdinov

💻

License

AlphaWallet Android is available under the MIT license. Free for commercial and non-commercial use.