Skip to content

Commit 13580ce

Browse files
authored
Rename Hedera references to Hiero
1 parent 01fa6b0 commit 13580ce

File tree

1,032 files changed

+830
-831
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,032 files changed

+830
-831
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "protobufs"]
22
path = protobufs
3-
url = https://github.com/hashgraph/hedera-services.git
3+
url = https://github.com/hiero-ledger/hiero-consensus-node.git

.swiftlint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
included:
22
- Examples/
3-
- Sources/Hedera/
4-
- Sources/HederaTCK/
3+
- Sources/Hiero/
4+
- Sources/HieroTCK/
55
- Tests/
66

77
excluded:
88
- .build/
9-
- Sources/Hedera/Status.swift
9+
- Sources/Hiero/Status.swift
1010

1111
disabled_rules:
1212
# TODO: re-enable once the project is deemed complete

Examples/AccountAlias/main.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ‍
1919
*/
2020

21-
import Hedera
21+
import Hiero
2222
import SwiftDotenv
2323

2424
@main
@@ -29,12 +29,12 @@ internal enum Program {
2929

3030
client.setOperator(env.operatorAccountId, env.operatorKey)
3131

32-
// Hedera supports a form of auto account creation.
32+
// Hiero supports a form of auto account creation.
3333
//
3434
// You can "create" an account by generating a private key, and then deriving the public key,
35-
// without any need to interact with the Hedera network. The public key more or less acts as the user's
35+
// without any need to interact with the Hiero network. The public key more or less acts as the user's
3636
// account ID. This public key is an account's aliasKey: a public key that aliases (or will eventually alias)
37-
// to a Hedera account.
37+
// to a Hiero account.
3838
//
3939
// An AccountId takes one of two forms: a normal `AccountId` with no `aliasKey` takes the form 0.0.123,
4040
// while an account ID with an `aliasKey` takes the form
@@ -46,9 +46,9 @@ internal enum Program {
4646
// transactions, however most queries and transactions involving such an AccountId won't work until Hbar has
4747
// been transferred to the aliasKey account.
4848
//
49-
// There is no record in the Hedera network of an account associated with a given `aliasKey`
49+
// There is no record in the Hiero network of an account associated with a given `aliasKey`
5050
// until an amount of Hbar is transferred to the account. The moment that Hbar is transferred to that `aliasKey`
51-
// AccountId is the moment that that account actually begins to exist in the Hedera ledger.
51+
// AccountId is the moment that that account actually begins to exist in the Hiero ledger.
5252

5353
print(#""Creating" a new account"#)
5454

Examples/AccountAllowance/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ‍
1919
*/
2020

21-
import Hedera
21+
import Hiero
2222
import SwiftDotenv
2323

2424
private struct Account {

Examples/AddNftAllowance/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
import Foundation
20-
import Hedera
20+
import Hiero
2121
import SwiftDotenv
2222

2323
@main
@@ -167,7 +167,7 @@ extension Environment {
167167
PrivateKey(self["OPERATOR_KEY"]!.stringValue)!
168168
}
169169

170-
/// The name of the Hedera network this example should run against.
170+
/// The name of the Hiero network this example should run against.
171171
internal var networkName: String {
172172
self["HEDERA_NETWORK"]?.stringValue ?? "testnet"
173173
}

Examples/ConsensusPubSub/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ‍
1919
*/
2020

21-
import Hedera
21+
import Hiero
2222
import SwiftDotenv
2323

2424
@main

Examples/ConsensusPubSubChunked/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
*/
2020

2121
import Foundation
22-
import Hedera
23-
import HederaExampleUtilities
22+
import Hiero
23+
import HieroExampleUtilities
2424
import SwiftDotenv
2525

2626
@main
@@ -49,7 +49,7 @@ internal enum Program {
4949
try await Task.sleep(nanoseconds: 1_000_000_000 * 10)
5050

5151
_ = Task {
52-
let bigContents = try await HederaExampleUtilities.Resources.bigContents
52+
let bigContents = try await HieroExampleUtilities.Resources.bigContents
5353

5454
print(
5555
"about to prepare a transaction to send a message of \(bigContents.count) bytes"

Examples/ConsensusPubSubWithSubmitKey/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ‍
1919
*/
2020

21-
import Hedera
21+
import Hiero
2222
import SwiftDotenv
2323

2424
@main

Examples/CreateAccount/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ‍
1919
*/
2020

21-
import Hedera
21+
import Hiero
2222
import SwiftDotenv
2323

2424
@main

Examples/CreateAccountThresholdKey/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ‍
1919
*/
2020

21-
import Hedera
21+
import Hiero
2222
import SwiftDotenv
2323

2424
@main

0 commit comments

Comments
 (0)