{"repo":"olifanton/ton","free":true,"listed":false,"github":"https://github.com/olifanton/ton","clone":"git clone https://github.com/olifanton/ton.git","description":"PHP SDK library for The Open Network blockchain","language":"PHP","stars":88,"topics":["blockchain","olifanton","the-open-network","ton","toncenter","toncoin","hack-ton-berfest","hacktoberfest"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"PHP SDK for \"The Open Network\" blockchain --- --- 💬 En chat 💬 Ру чат Prerequisites - Minimum PHP 8.1; - ext-hash ; - ext-sodium required as default cryptographic implementation; - any httplug-compatible HTTP client ( php-http/client-common ), see Documentation; - ext-bcmath not required, but strongly recommended for performance reasons. Installation Examples See examples directory. Running examples 1. Clone repository and install with development dependencies; 2. Get own testnet API key for Toncenter from Telegram bot; 3. Copy .env.dist to .env ; 4. Put API key and seed phrase variables to .env file; 5. Run examples in console. Documentation Toncenter transport initialization To use the SDK via Toncenter API, an HTTP client implementation is required. For the example, Guzzle will be used. If you are using another HTTP client supplied by your framework, refer to your framework's documentation and the httplug documentation for additional information. 1. Install http components via Composer: 2. Setup Toncenter transport: See examples/common.php for complex Toncenter example. SDK components Primitives To read description of primitives (Address, Cell, Slice, Builder, Hashmap), refer to documentation in the olifanton/interop repository. Performance tips - First of all, use the latest version of PHP, despite the fact that the minimum version is 8.1 - Install the bcmath extension for PHP. This dramatically speeds up the work with large integers, which is necessary for interacting w","default_branch":null,"files":null,"tree":[],"storefront":"/r/olifanton","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/olifanton/ton/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}