Skip to content

Android Update - Addresses generation / Authenticator with usernamesΒ #167

@Filmaluco

Description

@Filmaluco

Background

The Android platform has a huge growth potential for Stacks. Currently Android Developers can use the Blockstack Android SDK to develop apps within the Stacks ecosystem. But the SDK is outdated, with no major changes since Stacks 2.0 was launched.

Project Overview

The main goals are to update the Android SDK and release the Circles app.

There's currently no method to generate a Stacks Address (Mainnet or Testnet) and the lookup system still uses the legacy core API "https://core.blockstack.org/". These are breaking changes that have not yet been addressed within the SDK.

This changes would make the release of Circles possible again allowing Android Users to have an authentication system that is compatible with both Android Apps and Web Apps, and supports, again, username registration.

(Circles was a Grants project that is fully open source, you can find the repository at https://github.com/blocoio/stacks-circles-app)

Scope

While Stacks 2.0 brought a lot of new changes and updates we want to target 3 main things:

  1. Migrate to the new API
    We want to update the current lookup system, including migrating from core.blockstack.org to stacks-node-api.stacks.co.

  2. STX Address Generation
    With the help of @friedger, we already have a proof of concept for the STX Address generation in Kotlin. We want to implement a final version, for both Mainnet and Testnet, into the SDK, with a set of tests.

  3. Ability to register stacks subdomains (usernames)

    Give back to Android users the ability to register usernames, so apps like Envelop can again receive new users. Users will be able to register usernames from within the Android Authenticator app Circles.

Since the app Circles will make use of the updated SDK and is open source, we can measure our success if the app itself can:

  • Login with old accounts
  • Login with new accounts
  • Sign-up with
  • Sign-up with the ability to associate usernames within the new Registrar system

Budget and Milestones

Total Grant Request: $2000

Total effort: 1.5 weeks / person

  1. Release new update of the Android SDK (1 week)
    • Migrate to the new API
    • Ability to generate both Mainnet and Testnet STX addresses
  2. Public release of the Circles app (0.5 weeks)
    • Implement ability to register Stacks usernames

Team

The Bloco team, builders of Envelop and Circles:

Risks

With the proof of concept for STX Address generation for Mainnet, there's no high risks. But there's always the chance that, due to some internal Stacks team work, the technical specifications of what we need to do also change.

Community and Supporting Materials

We've built a popular Blockstack app, Envelop, that's fully open-source. And we made contributions to the blockstack-android SDK. We've also hosted a Blockstack Meetup Portugal.

We are also responsible for building and maintaining the Blockstack Auth Android application Circles.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions