diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..3834338
Binary files /dev/null and b/.DS_Store differ
diff --git a/.gitignore b/.gitignore
index 6ec76ed..8cf53d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/.build
+*.xcuserstate
\ No newline at end of file
diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/vbodinaud.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/vbodinaud.xcuserdatad/UserInterfaceState.xcuserstate
deleted file mode 100644
index 76b8db7..0000000
Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/vbodinaud.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ
diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/Blockchain.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/Blockchain.xcscheme
deleted file mode 100644
index 31501f9..0000000
--- a/.swiftpm/xcode/xcshareddata/xcschemes/Blockchain.xcscheme
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/.swiftpm/xcode/xcuserdata/vbodinaud.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/vbodinaud.xcuserdatad/xcschemes/xcschememanagement.plist
deleted file mode 100644
index 670d047..0000000
--- a/.swiftpm/xcode/xcuserdata/vbodinaud.xcuserdatad/xcschemes/xcschememanagement.plist
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
- SchemeUserState
-
- Blockchain.xcscheme_^#shared#^_
-
- orderHint
- 0
-
- CryptoSwift (Playground) 1.xcscheme
-
- isShown
-
- orderHint
- 2
-
- CryptoSwift (Playground) 2.xcscheme
-
- isShown
-
- orderHint
- 3
-
- CryptoSwift (Playground).xcscheme
-
- isShown
-
- orderHint
- 1
-
-
- SuppressBuildableAutocreation
-
- Blockchain
-
- primary
-
-
- BlockchainTests
-
- primary
-
-
-
-
-
diff --git a/Package.resolved b/Package.resolved
deleted file mode 100644
index c5b0613..0000000
--- a/Package.resolved
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "object": {
- "pins": [
- {
- "package": "CryptoSwift",
- "repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
- "state": {
- "branch": null,
- "revision": "12f2389aca4a07e0dd54c86ec23d0721ed88b8db",
- "version": "1.4.3"
- }
- }
- ]
- },
- "version": 1
-}
diff --git a/Package.swift b/Package.swift
deleted file mode 100644
index 73f6be6..0000000
--- a/Package.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-// swift-tools-version:5.1
-// The swift-tools-version declares the minimum version of Swift required to build this package.
-
-import PackageDescription
-
-let package = Package(
- name: "Blockchain",
- platforms: [
- .macOS(.v10_12),
- ],
- dependencies: [
- // Dependencies declare other packages that this package depends on.
- // .package(url: /* package url */, from: "1.0.0"),
- .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.0.0"),
- ],
- targets: [
- // Targets are the basic building blocks of a package. A target can define a module or a test suite.
- // Targets can depend on other targets in this package, and on products in packages which this package depends on.
- .target(
- name: "Blockchain",
- dependencies: ["CryptoSwift"]),
- .testTarget(
- name: "BlockchainTests",
- dependencies: ["Blockchain", "CryptoSwift"]),
- ]
-)
diff --git a/README.md b/README.md
deleted file mode 100644
index 466c4a1..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Blockchain
-
-A description of this package.
diff --git a/SwiftChain.xcodeproj/project.pbxproj b/SwiftChain.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..4b1a68a
--- /dev/null
+++ b/SwiftChain.xcodeproj/project.pbxproj
@@ -0,0 +1,322 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 77;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 57BA298C2CF77907009E4448 /* CryptoSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 57BA298B2CF77907009E4448 /* CryptoSwift */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 57BA297E2CF778F5009E4448 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 57BA29802CF778F5009E4448 /* SwiftChain */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SwiftChain; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFileSystemSynchronizedRootGroup section */
+ 57BA29822CF778F5009E4448 /* SwiftChain */ = {
+ isa = PBXFileSystemSynchronizedRootGroup;
+ path = SwiftChain;
+ sourceTree = "";
+ };
+/* End PBXFileSystemSynchronizedRootGroup section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 57BA297D2CF778F5009E4448 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 57BA298C2CF77907009E4448 /* CryptoSwift in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 57BA29772CF778F5009E4448 = {
+ isa = PBXGroup;
+ children = (
+ 57BA29822CF778F5009E4448 /* SwiftChain */,
+ 57BA29812CF778F5009E4448 /* Products */,
+ );
+ sourceTree = "";
+ };
+ 57BA29812CF778F5009E4448 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 57BA29802CF778F5009E4448 /* SwiftChain */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 57BA297F2CF778F5009E4448 /* SwiftChain */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 57BA29872CF778F5009E4448 /* Build configuration list for PBXNativeTarget "SwiftChain" */;
+ buildPhases = (
+ 57BA297C2CF778F5009E4448 /* Sources */,
+ 57BA297D2CF778F5009E4448 /* Frameworks */,
+ 57BA297E2CF778F5009E4448 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ fileSystemSynchronizedGroups = (
+ 57BA29822CF778F5009E4448 /* SwiftChain */,
+ );
+ name = SwiftChain;
+ packageProductDependencies = (
+ 57BA298B2CF77907009E4448 /* CryptoSwift */,
+ );
+ productName = SwiftChain;
+ productReference = 57BA29802CF778F5009E4448 /* SwiftChain */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 57BA29782CF778F5009E4448 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ BuildIndependentTargetsInParallel = 1;
+ LastSwiftUpdateCheck = 1610;
+ LastUpgradeCheck = 1610;
+ TargetAttributes = {
+ 57BA297F2CF778F5009E4448 = {
+ CreatedOnToolsVersion = 16.1;
+ };
+ };
+ };
+ buildConfigurationList = 57BA297B2CF778F5009E4448 /* Build configuration list for PBXProject "SwiftChain" */;
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 57BA29772CF778F5009E4448;
+ minimizedProjectReferenceProxies = 1;
+ packageReferences = (
+ 57BA298A2CF77907009E4448 /* XCRemoteSwiftPackageReference "CryptoSwift" */,
+ );
+ preferredProjectObjectVersion = 77;
+ productRefGroup = 57BA29812CF778F5009E4448 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 57BA297F2CF778F5009E4448 /* SwiftChain */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 57BA297C2CF778F5009E4448 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 57BA29852CF778F5009E4448 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MACOSX_DEPLOYMENT_TARGET = 15.1;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 57BA29862CF778F5009E4448 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MACOSX_DEPLOYMENT_TARGET = 15.1;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ };
+ name = Release;
+ };
+ 57BA29882CF778F5009E4448 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = WVH3Y23X7X;
+ ENABLE_HARDENED_RUNTIME = YES;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ 57BA29892CF778F5009E4448 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = WVH3Y23X7X;
+ ENABLE_HARDENED_RUNTIME = YES;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 57BA297B2CF778F5009E4448 /* Build configuration list for PBXProject "SwiftChain" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 57BA29852CF778F5009E4448 /* Debug */,
+ 57BA29862CF778F5009E4448 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 57BA29872CF778F5009E4448 /* Build configuration list for PBXNativeTarget "SwiftChain" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 57BA29882CF778F5009E4448 /* Debug */,
+ 57BA29892CF778F5009E4448 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+
+/* Begin XCRemoteSwiftPackageReference section */
+ 57BA298A2CF77907009E4448 /* XCRemoteSwiftPackageReference "CryptoSwift" */ = {
+ isa = XCRemoteSwiftPackageReference;
+ repositoryURL = "https://github.com/krzyzanowskim/CryptoSwift.git";
+ requirement = {
+ kind = upToNextMajorVersion;
+ minimumVersion = 1.8.3;
+ };
+ };
+/* End XCRemoteSwiftPackageReference section */
+
+/* Begin XCSwiftPackageProductDependency section */
+ 57BA298B2CF77907009E4448 /* CryptoSwift */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = 57BA298A2CF77907009E4448 /* XCRemoteSwiftPackageReference "CryptoSwift" */;
+ productName = CryptoSwift;
+ };
+/* End XCSwiftPackageProductDependency section */
+ };
+ rootObject = 57BA29782CF778F5009E4448 /* Project object */;
+}
diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/SwiftChain.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 100%
rename from .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
rename to SwiftChain.xcodeproj/project.xcworkspace/contents.xcworkspacedata
diff --git a/SwiftChain.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/SwiftChain.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
new file mode 100644
index 0000000..09d045a
--- /dev/null
+++ b/SwiftChain.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -0,0 +1,15 @@
+{
+ "originHash" : "72c2bbc73844ab67fc7d9913c0750200cb8c2703ae8ac776acd11affc367875c",
+ "pins" : [
+ {
+ "identity" : "cryptoswift",
+ "kind" : "remoteSourceControl",
+ "location" : "https://github.com/krzyzanowskim/CryptoSwift.git",
+ "state" : {
+ "revision" : "678d442c6f7828def400a70ae15968aef67ef52d",
+ "version" : "1.8.3"
+ }
+ }
+ ],
+ "version" : 3
+}
diff --git a/SwiftChain.xcodeproj/project.xcworkspace/xcuserdata/victor.xcuserdatad/UserInterfaceState.xcuserstate b/SwiftChain.xcodeproj/project.xcworkspace/xcuserdata/victor.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..f533017
Binary files /dev/null and b/SwiftChain.xcodeproj/project.xcworkspace/xcuserdata/victor.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/.swiftpm/xcode/package.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/SwiftChain.xcodeproj/xcuserdata/victor.xcuserdatad/xcschemes/xcschememanagement.plist
similarity index 54%
rename from .swiftpm/xcode/package.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
rename to SwiftChain.xcodeproj/xcuserdata/victor.xcuserdatad/xcschemes/xcschememanagement.plist
index 54782e3..5bb2053 100644
--- a/.swiftpm/xcode/package.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ b/SwiftChain.xcodeproj/xcuserdata/victor.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -2,7 +2,13 @@
- IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
-
+ SchemeUserState
+
+ SwiftChain.xcscheme_^#shared#^_
+
+ orderHint
+ 0
+
+
diff --git a/Sources/Blockchain/Models/Account.swift b/SwiftChain/Models/Account.swift
similarity index 100%
rename from Sources/Blockchain/Models/Account.swift
rename to SwiftChain/Models/Account.swift
diff --git a/Sources/Blockchain/Models/Block.swift b/SwiftChain/Models/Block.swift
similarity index 100%
rename from Sources/Blockchain/Models/Block.swift
rename to SwiftChain/Models/Block.swift
diff --git a/Sources/Blockchain/Models/Blockchain.swift b/SwiftChain/Models/Blockchain.swift
similarity index 100%
rename from Sources/Blockchain/Models/Blockchain.swift
rename to SwiftChain/Models/Blockchain.swift
diff --git a/Sources/Blockchain/Models/Transaction.swift b/SwiftChain/Models/Transaction.swift
similarity index 100%
rename from Sources/Blockchain/Models/Transaction.swift
rename to SwiftChain/Models/Transaction.swift
diff --git a/Sources/Blockchain/main.swift b/SwiftChain/main.swift
similarity index 100%
rename from Sources/Blockchain/main.swift
rename to SwiftChain/main.swift
diff --git a/Tests/BlockchainTests/BlockchainTests.swift b/Tests/BlockchainTests/BlockchainTests.swift
deleted file mode 100644
index dc36b32..0000000
--- a/Tests/BlockchainTests/BlockchainTests.swift
+++ /dev/null
@@ -1,47 +0,0 @@
-import XCTest
-import class Foundation.Bundle
-
-final class BlockchainTests: XCTestCase {
- func testExample() throws {
- // This is an example of a functional test case.
- // Use XCTAssert and related functions to verify your tests produce the correct
- // results.
-
- // Some of the APIs that we use below are available in macOS 10.13 and above.
- guard #available(macOS 10.13, *) else {
- return
- }
-
- let fooBinary = productsDirectory.appendingPathComponent("Blockchain")
-
- let process = Process()
- process.executableURL = fooBinary
-
- let pipe = Pipe()
- process.standardOutput = pipe
-
- try process.run()
- process.waitUntilExit()
-
- let data = pipe.fileHandleForReading.readDataToEndOfFile()
- let output = String(data: data, encoding: .utf8)
-
- XCTAssertEqual(output, "Hello, world!\n")
- }
-
- /// Returns path to the built products directory.
- var productsDirectory: URL {
- #if os(macOS)
- for bundle in Bundle.allBundles where bundle.bundlePath.hasSuffix(".xctest") {
- return bundle.bundleURL.deletingLastPathComponent()
- }
- fatalError("couldn't find the products directory")
- #else
- return Bundle.main.bundleURL
- #endif
- }
-
- static var allTests = [
- ("testExample", testExample),
- ]
-}
diff --git a/Tests/BlockchainTests/XCTestManifests.swift b/Tests/BlockchainTests/XCTestManifests.swift
deleted file mode 100644
index 7bcccdc..0000000
--- a/Tests/BlockchainTests/XCTestManifests.swift
+++ /dev/null
@@ -1,9 +0,0 @@
-import XCTest
-
-#if !canImport(ObjectiveC)
-public func allTests() -> [XCTestCaseEntry] {
- return [
- testCase(BlockchainTests.allTests),
- ]
-}
-#endif
diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift
deleted file mode 100644
index 6e9e04a..0000000
--- a/Tests/LinuxMain.swift
+++ /dev/null
@@ -1,7 +0,0 @@
-import XCTest
-
-import BlockchainTests
-
-var tests = [XCTestCaseEntry]()
-tests += BlockchainTests.allTests()
-XCTMain(tests)