You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
buildSrc | 3 years ago | |
gradle/wrapper | 4 years ago | |
src/main/java/cash/z/android/plugin | 3 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
build.gradle | 3 years ago | |
gradlew | 4 years ago | |
gradlew.bat | 4 years ago | |
publish.gradle | 3 years ago |
README.md
zcash-android-wallet-plugins
Generic interfaces for plugging functionality into Zcash Anrdroid wallets. Adhering to these interfaces creates a common ground for wallets to use for adding behavior. Then, if any particular 3rd party implementation needs to be changed, it will have a minor impact on the wallets, as a whole.
Gradle
Add dependency
dependencies {
implementation "cash.z.ecc.android:zcash-android-wallet-plugins:1.0.0"
}
repository {
jcenter()
}
Usage
Create implementations of the provided interfaces, plugging in your favorite libraries that get the job done. Then use them to create the seed needed for initializing the Android SDK.
/** class for storing seeds */
class LockBox @Inject constructor(private val appContext: Context) : LockBoxPlugin {
// add implementation
}
/** class for generating mnemonic phrases */
class Mnemonics @Inject constructor(): MnemonicPlugin {
// add implementation
}