{"id":14980227,"url":"https://github.com/block-chen/blocksdk-php","last_synced_at":"2025-10-28T23:31:17.095Z","repository":{"id":62495184,"uuid":"222042374","full_name":"Block-Chen/blocksdk-php","owner":"Block-Chen","description":"Past data inquiry, block inquiry, block chain information inquiry, address wallet creation, event web hook","archived":false,"fork":false,"pushed_at":"2023-09-15T07:54:50.000Z","size":136,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T19:39:13.940Z","etag":null,"topics":["bitcoin","bitcoin-api","bitcoin-wallet","dash","erc20","erc20-tokens","ethereum","ethereum-address","ethereum-api","litecoin","litecoin-wallet","monero","monero-api","monero-wallet"],"latest_commit_sha":null,"homepage":"https://blocksdk.com","language":"PHP","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/Block-Chen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-16T03:39:34.000Z","updated_at":"2024-05-31T07:31:06.000Z","dependencies_parsed_at":"2022-11-02T11:46:02.437Z","dependency_job_id":null,"html_url":"https://github.com/Block-Chen/blocksdk-php","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Block-Chen%2Fblocksdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Block-Chen%2Fblocksdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Block-Chen%2Fblocksdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Block-Chen%2Fblocksdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Block-Chen","download_url":"https://codeload.github.com/Block-Chen/blocksdk-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238738001,"owners_count":19522288,"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":["bitcoin","bitcoin-api","bitcoin-wallet","dash","erc20","erc20-tokens","ethereum","ethereum-address","ethereum-api","litecoin","litecoin-wallet","monero","monero-api","monero-wallet"],"created_at":"2024-09-24T14:01:28.912Z","updated_at":"2025-10-28T23:31:16.787Z","avatar_url":"https://github.com/Block-Chen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP REST API SDK for BLOCKSDK V3\n[![@BLOCKSDK on Facebook](https://img.shields.io/badge/facebook-%40BLOCKSDK-blue.svg)](https://www.facebook.com/blocksdk)\n[![Total Downloads](https://img.shields.io/packagist/dt/block-chen/blocksdk-php.svg?style=flat)](https://packagist.org/packages/block-chen/blocksdk-php)\n\n__BlockSDK PHP__에 오신 것을 환영합니다. 이 저장소에는 BlockSDK의 PHP SDK와 REST API용 샘플이 포함되어 있습니다.\n\n## 지원중인 블록체인 네트워크\n비트코인 , 라이트코인 , 비트코인 캐시 , 웹후크 는 V2버전 에서 지원되고 있습니다.\n```\n1.이더리움\n2.클레이튼  \n3.바이낸스 스마트 체인\n4.폴리곤\n5.아발란체\n6.이더리움 클래식\n```\n## 개발자 문서\n* [BlockSDK REST API V3 문서](https://documenter.getpostman.com/view/20292093/Uz5FKwxw)\n* [BlockSDK REST API V2 문서](https://docs-v2.blocksdk.com/ko/#fa255f0ccc)\n* [BLOCKSDK PHP SDK V3 문서](https://github.com/Block-Chen/blocksdk-php/wiki)\n\n## 요구 사양\n\n   - PHP 7버전 이상\n   - [curl](http://php.net/manual/en/book.curl.php), [json](http://php.net/manual/en/book.json.php) \u0026 [openssl](http://php.net/manual/en/book.openssl.php) extensions must be enabled\n   \n## 시작하기\n   SDK 설치 – Composer를 사용하여 설치 것이 BLOCKSDK PHP SDK를 설치하는 권장 방법입니다. \n   SDK는 block-chen/blocksdk-php 패키지의 Packagist를 통해 사용할 수 있습니다. \n   Composer가 시스템에 전역으로 설치된 경우 프로젝트의 기본 디렉터리에서 다음을 실행하여 SDK를 종속성으로 추가할 수 있습니다.\n   ```\n   composer require block-chen/blocksdk-php\n   ```\n\n## 코드 샘플\n### 이더리움 테스트넷 클라이언트 생성\n```php\n\u003c?php\nuse BlockSDK;\n\n$blockSDK = new BlockSDK(\"YOU_TOKEN\");\n$ethereumClient = $blockSDK-\u003ecreateEthereum();\n\n//or\n\n$ethereumClient = BlockSDK::createEthereum(\"YOU_TOKEN\");\n```\n### 이더리움 메인넷 클라이언트 생성\n엔드 포인트를 지정해주지 않는경우 테스트넷으로 기본 설정되어 호출 됩니다\n메인넷은 아래 예시와 같이 클라이언트 생성시 두번째 매개변수를 메인넷으로 지정해 주시길 바랍니다.\n```php\n\u003c?php\nuse BlockSDK;\n\n$blockSDK = new BlockSDK(\"YOU_TOKEN\",\"https://mainnet-api.blocksdk.com\");\n$ethereumClient = $blockSDK-\u003ecreateEthereum();\n\n//or\n\n$ethereumClient = BlockSDK::createEthereum(\"YOU_TOKEN\",\"https://mainnet-api.blocksdk.com\");\n```\n### 이더리움 테스트넷 특정 컨트렉트 NFT 목록 가져오기\n```php\n\u003c?php\n$nfts = $ethereumClient-\u003eGetSingleNfts([\n    \"contract_address\" =\u003e \"0xf5de760f2e916647fd766b4ad9e85ff943ce3a2b\",\n    \"includeMetadata\" =\u003e true,\n    \"offset\" =\u003e 0,\n    \"limit\" =\u003e 10\n]);\n\nvar_dump($nfts);\n```\n\n### 이더리움 주소 생성\n```php\n\u003c?php\n$address = $ethereumClient-\u003eCreateAddress([\n    \"name\" =\u003e \"test\"\n]);\n```\n\n[install-packagist]: https://packagist.org/packages/block-chen/blocksdk-php\n[composer]: http://getcomposer.org\n[packagist]: http://packagist.org\n[BlockSDK Developer Docs]: https://documenter.getpostman.com/view/20292093/Uz5FKwxw\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-chen%2Fblocksdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblock-chen%2Fblocksdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-chen%2Fblocksdk-php/lists"}