PlasmaSwiftLib 1.1.2

PlasmaSwiftLib 1.1.2

Anton Grigorev维护。



  • 作者:
  • Anton Grigorev

PlasmaSwiftLib

Build Status CocoaPods Compatible Carthage Compatible Platform License

提问

PlasmaSwiftLib 是与Matter Plasma实现交互的工具包。


特性

设计决策

  • 功能集中在设备本地序列化和签名交易
  • 使用REST API将原始交易发送到Matter等离子体网络
  • 使用Matter web3swift将原始交易发送到等离子体合约

要求

  • iOS 9.0+ / macOS 10.11+
  • Xcode 10.0+
  • Swift 4.2+

通信

当使用此库时,请参考此仓库并提供您的起始点! :) 看到有人使用我们的工作并为之疯狂,这是让开发者最快乐的事情。

如果您在您的应用程序中使用了PlasmaSwiftLib或者知道使用它的应用程序,请将其添加到此列表

安装

CocoaPods

CocoaPods 是Cocoa项目的依赖管理器。您可以使用以下命令安装它

$ sudo gem install cocoapods

要使用CocoaPods将PlasmaSwiftLib集成到您的Xcode项目中,请在您的Podfile中指定它

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'

target '<Your Target Name>' do
    use_frameworks!
    pod 'PlasmaSwiftLib', '~> 1.0.7'
end

然后,运行以下命令

$ pod install

Carthage

Carthage 是一个去中心化的依赖管理器,它构建您的依赖并提供二进制框架。

您可以使用以下命令通过Homebrew安装Carthage

$ brew update
$ brew install carthage

要使用Carthage将PlasmaSwiftLib集成到您的Xcode项目中,请在您的Cartfile中指定它

github "matterinc/PlasmaSwiftLib" "carthage"

运行carthage update来构建框架,并将构建的web3swift.framework拖入您的Xcode项目

示例项目

您可以通过运行示例项目来尝试这个库

  • 克隆仓库:git clone https://github.com/matterinc/PlasmaSwiftLib.git
  • 移动到仓库:cd PlasmaSwiftLib/Example/PlasmaSwiftLibExample
  • 安装依赖:pod install
  • 打开:open ./PlasmaSwiftLibExample.xcworkspace

致谢

Anton Grigorev, @BaldyAsh, [email protected]

Alex Vlasov, @shamatar, [email protected]

安全披露

如果您相信您发现了一个与PlasmaSwiftLib相关的安全漏洞,请尽快通过电子邮件报告给Anton Grigorev [email protected]。请勿将其发布到公开的问题跟踪器。

捐赠

The Matters 负责开源且不要求金钱来使用他们的PlasmaSwiftLib。我们想要继续尽一切可能推动项目前进。如果您在工作中使用任何我们的库,看看您的雇主是否感兴趣进行捐赠。任何今天可以捐赠的,以帮助我们实现目标的金额都将非常感谢。

我们的Ether钱包地址:0xe22b8979739d724343bd002f9f432f5990879901

Donate

许可证

PlasmaSwiftLib 在 Apache License 2.0 许可下提供。请参阅LICENSE以获取详细信息。