get program names from programs (#4273)
* get program names from programs * fixup
This commit is contained in:
@@ -16,6 +16,4 @@ solana-sdk = { path = "../../sdk", version = "0.15.0" }
|
||||
|
||||
[lib]
|
||||
name = "solana_exchange_program"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
|
||||
crate-type = ["lib","cdylib"]
|
||||
|
@@ -1,3 +1,12 @@
|
||||
#[macro_export]
|
||||
macro_rules! solana_exchange_program {
|
||||
() => {
|
||||
(
|
||||
"solana_exchange_program".to_string(),
|
||||
solana_exchange_api::id(),
|
||||
)
|
||||
};
|
||||
}
|
||||
use solana_exchange_api::exchange_processor::process_instruction;
|
||||
|
||||
solana_sdk::solana_entrypoint!(process_instruction);
|
||||
|
Reference in New Issue
Block a user