Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7994

Using declare_id with Environment Variables

$
0
0

I’m wondering if it's possible to use:

declare_id!(ENV::PROGRAM_ID);

This would allow me to work with several developers without needing to share:

wallet = "~/.config/solana/id.json"


Viewing all articles
Browse latest Browse all 7994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>