Skip to content

Swift wrapper around Rust Transaction Compiler/Decompiler library

License

Notifications You must be signed in to change notification settings

radixdlt/swift-engine-toolkit

Repository files navigation

EngineToolkit 🛠 🧰

Swift EngineToolkit provides a high level functions and method for the interaction with the [Radix Engine Toolkit][ret]. This is a thin wrapper of Radix Engine Toolkit which is autogenerated from https://github.com/radixdlt/radix-engine-toolkit. This swift package is not meant to contain any other additinal functionality/code on top of what is generated.

Binaries exluded

Binaries total size is 50+50+100 (iOS, iOS Sim, macOS (Intel/Apple Silicon)) mb for the three different RadixEngineToolkit.a files.

Supported Platforms

The underlying binary is built for these platforms:

  • iOS (ARM64, used since [iPhone 5S][iphonearchs])
  • iOS Simulator for both Apple Silicon (ARM64) and Intel (x86).
  • macOS, both Apple Silicon (ARM64) and Intel (x86).

Note: While x86 iOS versions are considered [obsolete][iphonearchs] they are still supported by the RadixEngineToolkit XCFramework to allow developers on Intel-based Macs to be able to use this library with their iPhone simulators.

Build

This Package distributes the RadixEngineToolkit.XCFrmawork as an SPM binaryTarget, which has been build by the build script here in Radix Engine Toolkit repo.

The process of of building the Radix Engine Toolkit is outlined in their repo, found here.

License

The Swift Radix Engine Toolkit binaries are licensed under the Radix Generic EULA.

The Swift Radix Engine Toolkit code is released under the Apache 2.0 license.

  Copyright 2023 Radix Publishing Ltd

  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

  You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  See the License for the specific language governing permissions and limitations under the License.