Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 82e7db7

Browse files
committed
Rename program
1 parent 493d4d8 commit 82e7db7

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</p>
1010

1111
<p align="center">
12-
<a href="https://github.com/febo/pinocchio/actions/workflows/main.yml"><img src="https://img.shields.io/github/actions/workflow/status/febo/pinocchio/main.yml?logo=GitHub" /></a>
12+
<a href="https://github.com/febo/p-token/actions/workflows/main.yml"><img src="https://img.shields.io/github/actions/workflow/status/febo/p-token/main.yml?logo=GitHub" /></a>
1313
</p>
1414

1515
## Overview

program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = { workspace = true }
88
publish = false
99

1010
[package.metadata.solana]
11-
program-id = "Tokenocchio11111111111111111111111111111111"
11+
program-id = "PToken1111111111111111111111111111111111111"
1212

1313
[lib]
1414
crate-type = ["cdylib", "lib"]

program/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Token
1+
# `p-token`
22

3-
Your generated Solana program. Have fun!
3+
A `pinocchio`-based Token program.

program/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
mod entrypoint;
44
mod processor;
55

6-
pinocchio_pubkey::declare_id!("Tokenocchio11111111111111111111111111111111");
6+
pinocchio_pubkey::declare_id!("PToken1111111111111111111111111111111111111");

program/tests/initialize_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use solana_sdk::{
1313
};
1414

1515
#[test_case::test_case(spl_token::ID ; "spl-token")]
16-
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "tokenocchio")]
16+
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "p-token")]
1717
#[tokio::test]
1818
async fn initialize_account(token_program: Pubkey) {
1919
let program_id = Pubkey::new_from_array(token_program::ID);

program/tests/initialize_mint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use solana_sdk::{
1414
use token_interface::state::mint::Mint;
1515

1616
#[test_case::test_case(spl_token::ID ; "spl-token")]
17-
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "tokenocchio")]
17+
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "p-token")]
1818
#[tokio::test]
1919
async fn initialize_mint(token_program: Pubkey) {
2020
let program_id = Pubkey::new_from_array(token_program::ID);

program/tests/mint_to.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use solana_sdk::{
1212
};
1313

1414
#[test_case::test_case(spl_token::ID ; "spl-token")]
15-
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "tokenocchio")]
15+
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "p-token")]
1616
#[tokio::test]
1717
async fn mint_to(token_program: Pubkey) {
1818
let program_id = Pubkey::new_from_array(token_program::ID);

program/tests/transfer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use solana_sdk::{
1212
};
1313

1414
#[test_case::test_case(spl_token::ID ; "spl-token")]
15-
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "tokenocchio")]
15+
#[test_case::test_case(Pubkey::new_from_array(token_program::ID) ; "p-token")]
1616
#[tokio::test]
1717
async fn transfer(token_program: Pubkey) {
1818
let program_id = Pubkey::new_from_array(token_program::ID);

0 commit comments

Comments
 (0)