Download the PHP package moshong/nft_zxinchainn without Composer

On this page you can find all versions of the php package moshong/nft_zxinchainn. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nft_zxinchainn

至信链NFT平台phpSDK

适用于至信链 NFT 平台接口-v0.0.2和钱包SDK本地服务

 至信链浏览器  至信链官网

     

     


安装


简单说几句废话:

这是一个开源的非官方 SDK。安装非常简单,因为它是一个标准的 Composer 包,这意味着任何满足下列安装条件的 PHP 项目支持 Composer 都可以使用它。该包目前只为满足至信链接口的php项目基本调用使用,如果你使用的是go语言~那么恭喜你,你可以直接使用官方的go sdk了~本sdk需要基于至信链本地钱包nft_wallet_service正常使用。至信链目前也是较小众商用型的ntf支持链了~需要的朋友不多,纯粹是为了方便自己,有啥纰漏请多担待~

使用示例

初始化

平台首次绑定激活

开源许可

使用 Apache License 2.0,对公司、团队、个人等商用、非商用都免费开源。

数字藏品格式标准定义

在发行数字藏品的时候,用户在定义下面4个字段的时候,需要关注格式问题: displayUrl 预览图url hash 藏品url内容对应hash metaData 可选,藏品平台用户自定义内容 url 藏品介质url

建议格式:

  1. displayUrl为藏品预览图,必须是图片(jpg、jpeg、png、gif、svg)且画面比例为1:1。
  2. hash 藏品url内容对应hash, hash计算方法是用SM3
  3. metaData 藏平用户自定义内容,供平台自己使用
  4. url 藏品介质url
    1. 藏品介质是单个文件

url内容为藏品具体内容,推荐大小为50MB以内, 存放在至信链cos中。 为了方便藏品在各个平台进行转移,文件格式有一定要求,具体参看第5点:

  1. 藏品介质是多个文件

url内容为json格式,存放在至信链cos中

files为必填字断,包含: type: 文件类型,1-图片,2-音频,3-视频,4-3D模型 5-文本 url: 包含文件的url, url建议是至信链中存放文件的cos地址 (文件格式要求参照第5点) hash 文件SM3值 attributes为可选字段: 包含 trait_type 藏品属性类型 value 属性类型对应的值 extensions为可选字段,用户自定义

  1. 文件格式要求如下: 元商品类型 介质文件可选格式 备注
    图片 jpg、jpeg、png、gif、svg
    音频 mp3、wma、flac 优先使用mp3格式
    视频 mp4、flv、wmv、mov 优先使用mp4格式
    3D模型 glb、fbx、obj 优先使用glb格式
    若业务特殊需要,使用了fbx、obj格式,请业务方自行处理 glb->fbx & obj 格式的转换
    文本 txt

All versions of nft_zxinchainn with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
guzzlehttp/guzzle Version ^7.4
pimple/pimple Version ^3.0
psr/simple-cache Version ^1.0
symfony/event-dispatcher Version ^4.3 || ^5.0
symfony/http-foundation Version ^2.7 || ^3.0 || ^4.0 || ^5.0
symfony/cache Version ^3.3 || ^4.3 || ^5.0
monolog/monolog Version ^2.4
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package moshong/nft_zxinchainn contains the following files

Loading the files please wait ....