jared970/crypton-shortener
Composer 安装命令:
composer require jared970/crypton-shortener
包简介
Library for handling Crypton addresses and vouchers
README 文档
README
Library for handling Crypton addresses and vouchers.
This solution can be used to shorten the wallet address in order to use it in the URL for web services. For example, it will be possible to use a shortened link when creating a donation service in Crypton.
install
composer require jared970/crypton-shortener
example
// account pubkey = crypton address $cryptonAddress = '2F2BF157DB859C01FE0CDC2C7F2B5A787ED34EB964559F1E093237EE4707249C'; $util = new Crypton\Utility(); echo $util->ShortenAddress($cryptonAddress);
result:
4B92T3TNfrNEuSLj4N8AAXp1zyHrHVbqUgNhDSmc931d
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-24