{"id":25284256,"url":"https://github.com/elastos/elastos.org.sidechain.service","last_synced_at":"2026-01-11T16:56:02.732Z","repository":{"id":96721164,"uuid":"152395962","full_name":"elastos/Elastos.ORG.SideChain.Service","owner":"elastos","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-17T11:53:06.000Z","size":109,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-02-12T20:38:36.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elastos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-10-10T09:16:31.000Z","updated_at":"2020-12-17T11:53:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac343969-2d9f-43cd-9072-c833a0bdcaa4","html_url":"https://github.com/elastos/Elastos.ORG.SideChain.Service","commit_stats":null,"previous_names":["elastos/elastos.org.did.service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ORG.SideChain.Service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ORG.SideChain.Service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ORG.SideChain.Service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ORG.SideChain.Service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elastos","download_url":"https://codeload.github.com/elastos/Elastos.ORG.SideChain.Service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247496582,"owners_count":20948261,"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":"2025-02-12T20:36:52.565Z","updated_at":"2026-01-11T16:56:02.725Z","avatar_url":"https://github.com/elastos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Elastos.ORG.DID.Service\n==============\n\n[Elastos.ORG.DID.Service documentation](https://didservice.readthedocs.io)\n\nThis repo provide simple HTTP Restful API for developers to interact with elastos did sidechain . you may need to construct your own local node to use some of these API , never provide private key to any third party . \n\n\n## Quick Start\n\nRun with `Maven`：\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.elastos\u003c/groupId\u003e\n    \u003cartifactId\u003edid.api\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.6\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n- Update `did.api/src/main/resources/application.properties` and ensure that `node.didPrefix` is set to the endpoint of the Elastos.DID you are using and optionally set `did.address`.\n- Install Project: `mvn install -Dmaven.test.skip -Dgpg.skip`\n\nThis will build the JAR file executable which can be found at `did.api/target`, for example v0.0.6 will be `did.api-0.0.6.jar`. \n\nor `Gradle`:\n\n```sh\ncompile 'org.elastos:did.api:0.0.6'\n```\n\nAdd A Entry Class\n```java\n@SpringBootApplication\npublic class MainEntry {\n\n    public static void main(String[] args) {\n        SpringApplication.run(org.elastos.Application.class, args);\n    }\n}\n```\n\nAdd application.properties in resources\n```\n## chain restful url\n## change to your local DID sidechain node resutful port\nnode.didPrefix           = http://localhost:20334\nnode.connectionCount     = /api/v1/node/connectioncount\nnode.state               = /api/v1/node/state\nnode.blockTxByHeight     = /api/v1/block/transactions/height/\nnode.blockByHeight       = /api/v1/block/details/height/\nnode.blockByhash         = /api/v1/block/details/hash/\nnode.blockHeight         = /api/v1/block/height\nnode.blockHash           = /api/v1/block/hash/\nnode.transaction         = /api/v1/transaction/\nnode.asset               = /api/v1/asset/\nnode.balanceByAddr       = /api/v1/asset/balances/\nnode.balanceByAsset      = /api/v1/asset/balance/\nnode.utxoByAsset         = /api/v1/asset/utxo/\nnode.utxoByAddr          = /api/v1/asset/utxos/\nnode.sendRawTransaction  = /api/v1/transaction\nnode.transactionPool     = /api/v1/transactionpool\nnode.restart             = /api/v1/restart\n\n## api return status code\nretcode.SUCC             = 200\nretcode.BAD_REQUEST      = 400\nretcode.NOT_FOUND        = 404\nretcode.INTERNAL_ERROR   = 500\nretcode.PROCESS_ERROR    = 10001\n\n## basic\nbasic.ONE_ELA            = 100000000\nbasic.FEE                = 0.000001\nbasic.CROSS_CHAIN_FEE    = 0.0001\n\n## application\nserver.port              = 8091\n\n## log\nlogging.level.root       =INFO\nlogging.level.org.elastos=DEBUG\n\n## DID related api\n## did setting field output receiving adddress , you can set you own receiving address\ndid.address              =EbxU18T3M9ufnrkRY7NLt6sKyckDW4VAsA\ndid.fee                  =0.0001\ndid.burnAddress          =0000000000000000000000000000000000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastos%2Felastos.org.sidechain.service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felastos%2Felastos.org.sidechain.service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastos%2Felastos.org.sidechain.service/lists"}