Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ExtropyIO/SolanaBootcamp
/ functions
Functions
233 in github.com/ExtropyIO/SolanaBootcamp
⨍
Functions
233
◇
Types & classes
66
↓ 12 callers
Function
getBalance
( connection: Connection, payer: Keypair )
utils/utils.ts:30
↓ 7 callers
Function
getUserInput
( text: string = "Input text" )
utils/utils.ts:250
↓ 6 callers
Function
checkAccountDeployed
( connection: Connection, programId: PublicKey )
utils/utils.ts:208
↓ 6 callers
Function
checkBinaryExists
( PROGRAM_KEYPAIR_PATH: string )
utils/utils.ts:155
↓ 6 callers
Function
temp_file
()
homeworks_rust/src/exercise.rs:17
↓ 5 callers
Function
establishConnection
()
utils/utils.ts:22
↓ 5 callers
Function
establishEnoughSol
( connection: Connection, payer: Keypair )
utils/utils.ts:103
↓ 5 callers
Function
getPayer
()
utils/utils.ts:223
↓ 4 callers
Method
compile
(&self)
homeworks_rust/src/exercise.rs:109
↓ 4 callers
Method
process
(&mut self, message: Message)
homeworks_rust/homeworks/homework6/enums/enums3.rs:38
↓ 4 callers
Method
run
Run the compiled exercise
homeworks_rust/src/exercise.rs:86
↓ 3 callers
Function
compile
Compile the given Exercise and return an object with information about the state of the compilation
homeworks_rust/src/verify.rs:121
↓ 3 callers
Function
fruit_basket
(basket: &mut HashMap<Fruit, u32>)
homeworks_rust/homeworks/homework6/collections/hashmap2.rs:28
↓ 3 callers
Function
get_fruit_basket
()
homeworks_rust/homeworks/homework6/collections/hashmap2.rs:48
↓ 3 callers
Function
invoke
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example4-cpi/client/main.ts:71
↓ 3 callers
Function
prompt_for_completion
(exercise: &Exercise, prompt_output: Option<String>)
homeworks_rust/src/verify.rs:141
↓ 3 callers
Method
state
(&self)
homeworks_rust/src/exercise.rs:199
↓ 3 callers
Function
verify
Verify that the provided container of Exercise objects can be compiled and run without any failures. Any such failures will be reported to the end use
homeworks_rust/src/verify.rs:11
↓ 2 callers
Method
beats
(&self)
examples_anchor/programs/example2-rps/src/lib.rs:87
↓ 2 callers
Function
clean
()
homeworks_rust/src/exercise.rs:258
↓ 2 callers
Function
clear_screen
Clears the terminal with an ANSI escape code. Works in UNIX and newer Windows terminals. */
homeworks_rust/src/main.rs:220
↓ 2 callers
Function
compile_and_run
Invoke the rust compiler on the path of the given exercise and run the ensuing binary. This is strictly for non-test binaries, so output is displayed
homeworks_rust/src/run.rs:21
↓ 2 callers
Function
compile_and_test
Compile the given Exercise as a test harness and display the output if verbose is set to true
homeworks_rust/src/verify.rs:87
↓ 2 callers
Function
createKeypairFromFile
( filePath: string )
utils/utils.ts:239
↓ 2 callers
Function
find_exercise
(name: &str, exercises: &'a [Exercise])
homeworks_rust/src/main.rs:194
↓ 2 callers
Function
fruit_basket
()
homeworks_rust/homeworks/homework6/collections/hashmap1.rs:18
↓ 2 callers
Function
getConfig
* @private
utils/utils.ts:120
↓ 2 callers
Method
get_player_index
(&mut self, player: Pubkey)
examples_anchor/programs/example2-rps/src/lib.rs:131
↓ 2 callers
Method
looks_done
Check that the exercise looks to be solved using self.state() This is not the best way to check since the user can just remove the "I AM NOT DONE" str
homeworks_rust/src/exercise.rs:246
↓ 2 callers
Function
print_number
you can modify anything EXCEPT for this function's signature
homeworks_rust/homeworks/homework6/option/option1.rs:7
↓ 2 callers
Function
topUp
( connection: Connection, payer: Keypair, lamports: number )
utils/utils.ts:64
↓ 1 callers
Function
array_and_vec
()
homeworks_rust/homeworks/homework6/collections/vec1.rs:9
↓ 1 callers
Function
atLeastSol
( connection: Connection, account: Keypair, min: number )
utils/utils.ts:74
↓ 1 callers
Method
call
(&self)
homeworks_rust/homeworks/homework6/enums/enums2.rs:12
↓ 1 callers
Function
call_this
(num: u32)
homeworks_rust/homeworks/homework5/functions/functions3.rs:10
↓ 1 callers
Function
call_this
(num:)
homeworks_rust/homeworks/homework5/functions/functions2.rs:10
↓ 1 callers
Function
compile_and_run_interactively
Compile the given Exercise and run the resulting binary in an interactive mode
homeworks_rust/src/verify.rs:55
↓ 1 callers
Function
compile_only
Invoke the rust compiler without running the resulting binary
homeworks_rust/src/verify.rs:42
↓ 1 callers
Function
createPDA
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example6-pda/client/main.ts:148
↓ 1 callers
Function
create_pda
finds valid account on-chain and creates it on-chain
examples_baremetal/example6-pda/rust/src/functions.rs:18
↓ 1 callers
Function
current_favorite_course
()
homeworks_rust/homeworks/homework5/strings/strings1.rs:12
↓ 1 callers
Function
deployGreetAccount
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example2-counter/client/main.ts:72
↓ 1 callers
Function
division_based
(nth_prime: u8)
examples_baremetal/example5-compute/rust/src/entrypoint.rs:41
↓ 1 callers
Function
feesEstimate
(connection: Connection, payer: Keypair)
utils/utils.ts:39
↓ 1 callers
Function
fill_vec
(vec: Vec<i32>)
homeworks_rust/homeworks/homework6/move_semantics/move_semantics3.rs:20
↓ 1 callers
Function
fill_vec
(vec: Vec<i32>)
homeworks_rust/homeworks/homework6/move_semantics/move_semantics1.rs:18
↓ 1 callers
Function
fill_vec
(vec: Vec<i32>)
homeworks_rust/homeworks/homework6/move_semantics/move_semantics2.rs:20
↓ 1 callers
Function
fill_vec
`fill_vec()` no longer takes `vec: Vec<i32>` as argument
homeworks_rust/homeworks/homework6/move_semantics/move_semantics4.rs:22
↓ 1 callers
Function
getAllAccounts
( programId: PublicKey, connection: Connection )
examples_baremetal/example6-pda/client/main.ts:87
↓ 1 callers
Function
getPrimes
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example5-compute/client/main.ts:73
↓ 1 callers
Function
getRpcUrl
()
utils/utils.ts:139
↓ 1 callers
Function
get_char
Should not take ownership
homeworks_rust/homeworks/homework6/move_semantics/move_semantics6.rs:16
↓ 1 callers
Function
get_secret_recipe
Don't let anybody outside of this module see this!
homeworks_rust/homeworks/homework7/modules/modules1.rs:8
↓ 1 callers
Function
homework
Redo watch but with only the homework that has been given out pass on the way here the subset
homeworks_rust/src/main.rs:216
↓ 1 callers
Function
is_a_color_word
(attempt: &str)
homeworks_rust/homeworks/homework5/strings/strings2.rs:16
↓ 1 callers
Function
is_even
(num: i32)
homeworks_rust/homeworks/homework5/functions/functions4.rs:22
↓ 1 callers
Function
is_prime
(number: &u16)
examples_baremetal/example5-compute/rust/src/entrypoint.rs:30
↓ 1 callers
Function
loadKeypair
(location: string = "")
utils/utils.ts:198
↓ 1 callers
Function
main
()
examples_baremetal/example6-pda/client/main.ts:35
↓ 1 callers
Function
main
()
examples_baremetal/example5-compute/client/main.ts:33
↓ 1 callers
Function
main
()
examples_baremetal/example1-helloworld/client/main.ts:33
↓ 1 callers
Function
main
()
examples_baremetal/example2-counter/client/main.ts:34
↓ 1 callers
Function
main
()
examples_baremetal/example4-cpi/client/main.ts:32
↓ 1 callers
Function
make_sausage
()
homeworks_rust/homeworks/homework7/modules/modules1.rs:12
↓ 1 callers
Method
new
(hand: char)
examples_anchor/programs/example2-rps/src/lib.rs:66
↓ 1 callers
Method
pick_winner
(&mut self)
examples_anchor/programs/example2-rps/src/lib.rs:141
↓ 1 callers
Method
place_hand
(&mut self, hand_string: String, indx: usize)
examples_anchor/programs/example2-rps/src/lib.rs:164
↓ 1 callers
Method
place_hash
(&mut self, hashed_hand: [u8; 32], indx: usize)
examples_anchor/programs/example2-rps/src/lib.rs:154
↓ 1 callers
Function
readPDA
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example6-pda/client/main.ts:202
↓ 1 callers
Function
run
Invoke the rust compiler on the path of the given exercise, and run the ensuing binary. The verbose argument helps determine whether or not to show th
homeworks_rust/src/run.rs:9
↓ 1 callers
Function
rustc_exists
()
homeworks_rust/src/main.rs:329
↓ 1 callers
Function
sayHello
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example1-helloworld/client/main.ts:79
↓ 1 callers
Function
spawn_watch_shell
(failed_exercise_hint: &Arc<Mutex<Option<String>>>, should_quit: Arc<AtomicBool>)
homeworks_rust/src/main.rs:159
↓ 1 callers
Function
square
(num: i32)
homeworks_rust/homeworks/homework5/functions/functions5.rs:11
↓ 1 callers
Function
string_uppercase
Should take ownership
homeworks_rust/homeworks/homework6/move_semantics/move_semantics6.rs:21
↓ 1 callers
Function
test
Compile and run the resulting test harness of the given Exercise
homeworks_rust/src/verify.rs:36
↓ 1 callers
Function
total_cost
(item_quantity: &str)
homeworks_rust/homeworks/homework7/error_handling/errors3.rs:25
↓ 1 callers
Function
vec_loop
(mut v: Vec<i32>)
homeworks_rust/homeworks/homework6/collections/vec2.rs:12
↓ 1 callers
Function
writePDA
( programId: PublicKey, connection: Connection, payer: Keypair )
examples_baremetal/example6-pda/client/main.ts:100
↓ 1 callers
Function
write_pda
( program_id: &Pubkey, seed: String, accounts: &[AccountInfo], )
examples_baremetal/example6-pda/rust/src/functions.rs:69
Function
add_answer
Creates a PDA for the answer
examples_anchor/programs/example3-consortium/src/lib.rs:36
Function
add_member
Creates a PDA for the member
examples_anchor/programs/example3-consortium/src/lib.rs:17
Function
add_question
Creates a PDA for the question
examples_anchor/programs/example3-consortium/src/lib.rs:26
Function
all_exercises_require_confirmation
()
homeworks_rust/tests/integration_tests.rs:125
Function
at_least_five_fruits
()
homeworks_rust/homeworks/homework6/collections/hashmap1.rs:40
Function
at_least_five_types_of_fruits
()
homeworks_rust/homeworks/homework6/collections/hashmap2.rs:67
Function
at_least_three_types_of_fruits
()
homeworks_rust/homeworks/homework6/collections/hashmap1.rs:34
Function
bar_for_fuzz
()
homeworks_rust/homeworks/homework5/if/if2.rs:29
Function
bigger
(a: i32, b: i32)
homeworks_rust/homeworks/homework5/if/if1.rs:5
Function
buy_ticket
Buy a lottery ticket
examples_anchor/programs/example1-lottery/src/lib.rs:21
Method
change_color
(&mut self, color: (u8, u8, u8))
homeworks_rust/homeworks/homework6/enums/enums3.rs:22
Function
checkProgram
( connection: Connection, accountID: PublicKey )
utils/utils.ts:172
Method
constructor
(fields: { word: string } | undefined = undefined)
examples_baremetal/example6-pda/client/main.ts:237
Method
constructor
(fields: { counter: number } | undefined = undefined)
examples_baremetal/example2-counter/client/main.ts:163
Method
default
()
examples_anchor/programs/example2-rps/src/lib.rs:77
Function
default_to_baz
()
homeworks_rust/homeworks/homework5/if/if2.rs:34
Method
drop
(&mut self)
homeworks_rust/src/exercise.rs:103
Method
echo
(&self, s: String)
homeworks_rust/homeworks/homework6/enums/enums3.rs:30
Function
explains_why_generating_nametag_text_fails
()
homeworks_rust/homeworks/homework7/error_handling/errors1.rs:32
Function
fails_when_in_wrong_dir
()
homeworks_rust/tests/integration_tests.rs:15
next →
1–100 of 233, ranked by callers