Download the PHP package akashic/akashic-pay without Composer
On this page you can find all versions of the php package akashic/akashic-pay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download akashic/akashic-pay
More information about akashic/akashic-pay
Files in akashic/akashic-pay
Package akashic-pay
Short Description A library to interact with the AkashicChain network, written in PHP.
License
Informations about the package akashic-pay
AkashicPay - PHP Library
A library to interact with the AkashicChain network, written in PHP.
Installing
Usage
Features
- Send crypto via Layer 1 and Layer 2 (Akashic Chain)
- Create wallets for your users into which they can deposit crypto
- Fetch balance and transaction details
- Completely Web3: No login or API-key necessary. Just supply your Akashic private key, which stays on your server. The SDK signs your transactions with your key and sends them to Akashic Chain.
- Supports Ethereum and Tron
Getting Started
- Create an account on AkashicLink (Google Chrome Extension or iPhone/Android App)
- Visit AkashicPay and connect with AkashicLink. Set up the URL you wish to receive callbacks for.
- Integrate the SDK in your code. This example configuration uses many optional build arguments, for illustration purposes:
AkashicPay is now fully setup and ready to use.
Testing
You can also use AkashicPay with the AkashicChain Testnet & Sepolia (Ethereum) and Shasta (Tron) testnets, useful for local development and staging environments. To do this, no AkashicLink is necessary; you can build an AkashicPay instance as follows, and the SDK will create a "test otk" for you:
Then, to reuse the same otk in later testing (recommended), simply supply the otk during setup:
You can now create an L1-wallet on a testnet:
Use a faucet (e.g. via the Tron Discord) to deposit some coin into the created wallet. While you won't receive callbacks during testing, you can check to see if your balance has increased with:
Documentation
Link to further docs here
Contributing
See CONTRIBUTING.md for information
All versions of akashic-pay with dependencies
ext-gmp Version *
ext-openssl Version *
fgrosse/phpasn1 Version ^2.5.0
simplito/elliptic-php Version ^1.0
monolog/monolog Version ^2.9
guzzlehttp/guzzle Version ^7.9
protonlabs/bitcoin Version ^1.0
ext-json Version *