MCPcopy Create free account
hub / github.com/clockwork-xyz/clockwork / signatory

Method signatory

cli/src/config.rs:100–110  ·  view source on GitHub ↗

This assumes the path for the signatory keypair created by solana-test-validator is test-ledger/validator-keypair.json

(&self)

Source from the content-addressed store, hash-verified

98 /// This assumes the path for the signatory keypair created by solana-test-validator
99 /// is test-ledger/validator-keypair.json
100 pub fn signatory(&self) -> String {
101 env::current_dir()
102 .map(|mut path| {
103 path.extend(["test-ledger", "validator-keypair.json"]);
104 path
105 })
106 .expect(&format!(
107 "Unable to find location of validator-keypair.json"
108 ))
109 .to_string()
110 }
111
112 pub fn geyser_config(&self) -> String {
113 self.active_runtime("geyser-plugin-config.json")

Callers 2

register_workerFunction · 0.80

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected