定制 code-wallet/client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

code-wallet/client

最新稳定版本:v1.0.0

Composer 安装命令:

composer require code-wallet/client

包简介

Code Wallet PHP Client

README 文档

README

Code SDK - PHP

Code SDK - PHP

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

The Code PHP SDK is a library that empowers PHP developers to easily integrate Code payments into their applications. With just a few lines of code and minimal setup, you can start accepting payments effortlessly.

See the documentation for detailed information.

What is Code?

Code is a mobile wallet app that utilizes self-custodial blockchain technology to offer instant, global, and private payment services.

Installation

You can install the Code PHP SDK via Composer:

composer require code-wallet/client

Usage

Here is a quick example demonstrating how to create and verify a payment intent using the PHP SDK:

<?php

require 'vendor/autoload.php';

use CodeWallet\Client\PaymentIntents;

$testData = [
    'destination' => "E8otxw1CVX9bfyddKu3ZB3BVLa4VVF9J7CTPdnUwT9jR",
    'amount' => 0.05,
    'currency' => 'usd',
];

// Create a payment request intent
$response = PaymentIntents::create($testData);

// After some time, you can verify the status of the intent
$status = PaymentIntents::getStatus($response['id']);

echo $status;

Getting Help

If you have any questions or need help integrating Code into your website or application, please reach out to us on Discord or Twitter.

Contributing

For now the best way to contribute is to share feedback on Discord. This will evolve as we continue to build out the platform and open up more ways to contribute.

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-06