From d9fd11a8f37cda0b61c7144ac920c72f17b75739 Mon Sep 17 00:00:00 2001 From: Solana Maintainers Date: Tue, 4 May 2021 09:30:18 -0700 Subject: [PATCH] Add program id --- name-service/program/program-id.md | 1 + name-service/program/src/lib.rs | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 name-service/program/program-id.md diff --git a/name-service/program/program-id.md b/name-service/program/program-id.md new file mode 100644 index 00000000000..27faf0b1ced --- /dev/null +++ b/name-service/program/program-id.md @@ -0,0 +1 @@ +namesLPneVptA9Z5rqUDD9tMTWEJwofgaYwp8cawRkX diff --git a/name-service/program/src/lib.rs b/name-service/program/src/lib.rs index 1b247687a8c..2b4e21a25f6 100644 --- a/name-service/program/src/lib.rs +++ b/name-service/program/src/lib.rs @@ -1,8 +1,11 @@ #[cfg(not(feature = "no-entrypoint"))] pub mod entrypoint; - +pub mod error; pub mod instruction; pub mod processor; pub mod state; -pub mod error; +// Export current sdk types for downstream users building with a different sdk version +pub use solana_program; + +solana_program::declare_id!("namesLPneVptA9Z5rqUDD9tMTWEJwofgaYwp8cawRkX");