{"id":19139914,"url":"https://github.com/arcblock/did-wallet-sdk-android","last_synced_at":"2026-02-09T16:32:15.897Z","repository":{"id":40434770,"uuid":"470418674","full_name":"ArcBlock/did-wallet-sdk-android","owner":"ArcBlock","description":"DID Wallet Andorid version sdk","archived":false,"fork":false,"pushed_at":"2025-01-21T06:31:59.000Z","size":341,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-14T15:08:57.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArcBlock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-16T03:30:57.000Z","updated_at":"2025-04-02T02:06:06.000Z","dependencies_parsed_at":"2025-01-03T14:47:22.118Z","dependency_job_id":"cd73e041-0363-4444-b386-82693f9e5bdf","html_url":"https://github.com/ArcBlock/did-wallet-sdk-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Fdid-wallet-sdk-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Fdid-wallet-sdk-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Fdid-wallet-sdk-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Fdid-wallet-sdk-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArcBlock","download_url":"https://codeload.github.com/ArcBlock/did-wallet-sdk-android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904642,"owners_count":21180835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T07:15:39.113Z","updated_at":"2026-02-09T16:32:15.851Z","avatar_url":"https://github.com/ArcBlock.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# did-wallet-sdk-android\nDID Wallet Andorid version sdk\n\n\n\n### Install\n\n```groovy\nimplementation(\"io.arcblock.did:sdk-protocol:${version}\")\nimplementation(\"io.arcblock.did:wallet-sdk:${version}\")\nimplementation(\"org.web3j:core:4.6.0-android\")\nimplementation(\"org.bitcoinj:bitcoinj-core:0.16.1\"){\n  exclude group: 'com.google.protobuf'\n}\nimplementation(\"com.google.guava:guava:30.1-android\")\nimplementation 'com.google.protobuf:protobuf-kotlin-lite:3.19.4'\nimplementation('com.google.crypto.tink:tink-android:1.6.1') {\n  exclude module: 'protobuf-lite'\n}\n```\n\n### Usage\n\n#### DID Generate\n\n``` kotlin\n// generate mnemonic words\nval codes = Bip44Utils.genMnemonicCodes()\n// generate Root seed\nval seed = Bip44Utils.genSeedByInsertMnemonics(codes).seed\n// generate keypair derived by AppID\nval keypair = IdGenerator.genAppKeyPair(\"zEdhj45f\", 0,  seed, ED25519)\n// generate DID\nval did = IdGenerator.sk2did(keypair.privateKey)\n```\n\n#### Sign/Verify a message\n\n```\nval sig = Signer.sign(KeyType.ETHEREUM, messageUtf8.toByteArray(), sk)\nval verified =  Signer.verify(KeyType.ETHEREUM, messageUtf8.toByteArray(), pk, sig)\n```\n\n### License\n```\n                Copyright [2022] [ArcBlock.io]\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcblock%2Fdid-wallet-sdk-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcblock%2Fdid-wallet-sdk-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcblock%2Fdid-wallet-sdk-android/lists"}