You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, it makes sense to be able to customize it for different networks.
There is no “env variables” concept in near contracts. You will need to store the value in the contract state and initialize on construction (new method)
Okay great. I will start working on including it in the contract state. I am assuming it would need migrations to be written too? I can take a crack at it as well.
At src/social_db.rs, we define social db contract's address as hardcoded:
While working on testnet and sandboxes, this have been a problem. I think we can use env variables to load the contract address.
The text was updated successfully, but these errors were encountered: