This repository was archived by the owner on Feb 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ repository = { workspace = true }
88publish = false
99
1010[package .metadata .solana ]
11- program-id = " Tokenocchio11111111111111111111111111111111 "
11+ program-id = " PToken1111111111111111111111111111111111111 "
1212
1313[lib ]
1414crate-type = [" cdylib" , " lib" ]
Original file line number Diff line number Diff line change 1- # Token
1+ # ` p-token `
22
3- Your generated Solana program. Have fun!
3+ A ` pinocchio ` -based Token program.
Original file line number Diff line number Diff line change 33mod entrypoint;
44mod processor;
55
6- pinocchio_pubkey:: declare_id!( "Tokenocchio11111111111111111111111111111111 " ) ;
6+ pinocchio_pubkey:: declare_id!( "PToken1111111111111111111111111111111111111 " ) ;
Original file line number Diff line number Diff 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]
1818async fn initialize_account ( token_program : Pubkey ) {
1919 let program_id = Pubkey :: new_from_array ( token_program:: ID ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use solana_sdk::{
1414use 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]
1919async fn initialize_mint ( token_program : Pubkey ) {
2020 let program_id = Pubkey :: new_from_array ( token_program:: ID ) ;
Original file line number Diff line number Diff 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]
1717async fn mint_to ( token_program : Pubkey ) {
1818 let program_id = Pubkey :: new_from_array ( token_program:: ID ) ;
Original file line number Diff line number Diff 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]
1717async fn transfer ( token_program : Pubkey ) {
1818 let program_id = Pubkey :: new_from_array ( token_program:: ID ) ;
You can’t perform that action at this time.
0 commit comments