Skip to content

Commit a7ecdeb

Browse files
committed
change references of example-native-token-transfers to native-token-transfers
1 parent 66f8e41 commit a7ecdeb

Some content is hidden

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

77 files changed

+60
-60
lines changed

cli/README.md

+1-1

cli/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if ! command -v bun > /dev/null; then
99
exit 1
1010
fi
1111

12-
REPO="https://github.com/wormhole-foundation/example-native-token-transfers.git"
12+
REPO="https://github.com/wormhole-foundation/native-token-transfers.git"
1313

1414
function main {
1515
branch=""

cli/src/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ yargs(hideBin(process.argv))
257257
if (argv["repo"]) {
258258
repoArg = `--repo ${argv["repo"]}`;
259259
}
260-
const installScript = "https://raw.githubusercontent.com/wormhole-foundation/example-native-token-transfers/main/cli/install.sh";
260+
const installScript = "https://raw.githubusercontent.com/wormhole-foundation/native-token-transfers/main/cli/install.sh";
261261
// save it to "$HOME/.ntt-cli/install.sh"
262262
const nttDir = `${process.env.HOME}/.ntt-cli`;
263263
const installer = `${nttDir}/install.sh`;
@@ -285,7 +285,7 @@ yargs(hideBin(process.argv))
285285
process.exit(1);
286286
}
287287
const path = argv["path"];
288-
await $`git clone -b main https://github.com/wormhole-foundation/example-native-token-transfers.git ${path}`;
288+
await $`git clone -b main https://github.com/wormhole-foundation/native-token-transfers.git ${path}`;
289289
})
290290
.command("add-chain <chain>",
291291
"add a chain to the deployment file",
@@ -1267,7 +1267,7 @@ async function deploySolana<N extends Network, C extends SolanaChains>(
12671267
}
12681268

12691269
const anchorTomlPath = `${pwd}/solana/Anchor.toml`;
1270-
const libRsPath = `${pwd}/solana/programs/example-native-token-transfers/src/lib.rs`;
1270+
const libRsPath = `${pwd}/solana/programs/native-token-transfers/src/lib.rs`;
12711271

12721272
const anchorToml = fs.readFileSync(anchorTomlPath).toString();
12731273
const newAnchorToml = anchorToml.replace(existingProgramId, providedProgramId);

docs/Transceiver.md

+1-1

evm/ts/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.5.0",
44
"repository": {
55
"type": "git",
6-
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
6+
"url": "git+https://github.com/wormhole-foundation/native-token-transfers.git"
77
},
88
"bugs": {
9-
"url": "https://github.com/wormhole-foundation/example-native-token-transfers"
9+
"url": "https://github.com/wormhole-foundation/native-token-transfers"
1010
},
1111
"directories": {
1212
"test": "__tests__"

sdk/definitions/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"version": "0.5.0",
44
"repository": {
55
"type": "git",
6-
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
6+
"url": "git+https://github.com/wormhole-foundation/native-token-transfers.git"
77
},
88
"bugs": {
9-
"url": "https://github.com/wormhole-foundation/example-native-token-transfers"
9+
"url": "https://github.com/wormhole-foundation/native-token-transfers"
1010
},
11-
"homepage": "https://github.com/wormhole-foundation/example-native-token-transfers#readme",
11+
"homepage": "https://github.com/wormhole-foundation/native-token-transfers#readme",
1212
"directories": {
1313
"test": "__tests__"
1414
},

sdk/route/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"version": "0.5.0",
44
"repository": {
55
"type": "git",
6-
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
6+
"url": "git+https://github.com/wormhole-foundation/native-token-transfers.git"
77
},
88
"bugs": {
9-
"url": "https://github.com/wormhole-foundation/example-native-token-transfers"
9+
"url": "https://github.com/wormhole-foundation/native-token-transfers"
1010
},
11-
"homepage": "https://github.com/wormhole-foundation/example-native-token-transfers#readme",
11+
"homepage": "https://github.com/wormhole-foundation/native-token-transfers#readme",
1212
"directories": {
1313
"test": "__tests__"
1414
},

solana/Anchor.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ upgradeable = true
2929

3030
[[test.genesis]]
3131
address = "worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth"
32-
program = "programs/example-native-token-transfers/tests/fixtures/mainnet_core_bridge.so"
32+
program = "programs/native-token-transfers/tests/fixtures/mainnet_core_bridge.so"
3333

3434
[test.validator]
3535
bind_address = "0.0.0.0"

solana/Cargo.lock

+34-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

solana/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# turn `const VERSION: &str = "major.minor.patch";` into `major_minor_patch`
66
#use make functions to minimize dependence on shell
77
VERSION = $(subst .,_,$(subst ;,,$(subst ",,$(lastword \
8-
$(shell grep "const VERSION" programs/example-native-token-transfers/src/lib.rs) \
8+
$(shell grep "const VERSION" programs/native-token-transfers/src/lib.rs) \
99
))))
1010

1111

solana/README.md

+4-4

solana/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"version": "0.5.0",
44
"repository": {
55
"type": "git",
6-
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
6+
"url": "git+https://github.com/wormhole-foundation/native-token-transfers.git"
77
},
88
"bugs": {
9-
"url": "https://github.com/wormhole-foundation/example-native-token-transfers"
9+
"url": "https://github.com/wormhole-foundation/native-token-transfers"
1010
},
11-
"homepage": "https://github.com/wormhole-foundation/example-native-token-transfers#readme",
11+
"homepage": "https://github.com/wormhole-foundation/native-token-transfers#readme",
1212
"directories": {
1313
"test": "tests"
1414
},

solana/programs/example-native-token-transfers/Cargo.toml solana/programs/native-token-transfers/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "example-native-token-transfers"
2+
name = "native-token-transfers"
33
version = "2.0.0"
44
description = "Example implementation of native token transfer standard"
55
edition = "2021"
Binary file not shown.
Binary file not shown.

solana/programs/ntt-quoter/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ cfg-if.workspace = true
2929
wormhole-io.workspace = true
3030
wormhole-solana-utils.workspace = true
3131

32-
example-native-token-transfers = { path = "../example-native-token-transfers", features = ["no-entrypoint"] }
32+
native-token-transfers = { path = "../native-token-transfers", features = ["no-entrypoint"] }

solana/tests/anchor.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const coreBridge = new SolanaWormholeCore("Devnet", "Solana", connection, {
117117

118118
const TOKEN_PROGRAM = spl.TOKEN_2022_PROGRAM_ID;
119119

120-
describe("example-native-token-transfers", () => {
120+
describe("native-token-transfers", () => {
121121
let ntt: SolanaNtt<"Devnet", "Solana">;
122122
let signer: Signer;
123123
let sender: AccountAddress<"Solana">;

0 commit comments

Comments
 (0)