RedSquirrelTech / hoscdev

Code for Hands on Smart Contract Development. We recommend https://quickbeam.xyz/ for a more interactive learning experience. (discount code: HOSCDEV100)
http://shop.oreilly.com/product/0636920216018.do
136 stars 51 forks source link

where can i get this value mnemonic environment variable ? #135

Open rizkidarmawan21 opened 1 year ago

rizkidarmawan21 commented 1 year ago

where can i get this value mnemonic environment variable ?

I'm still learning and I don't know what it is and how can I get the contents of this variable, please help

ksolo commented 1 year ago

Hi @rizkidarmawan21 What part of the book are you working through?

In general you can set an env variable at the command line

$ export VARIABLE_NAME="variable value"
rizkidarmawan21 commented 1 year ago

Yes i see but what is variabel value where i have ?

ksolo commented 1 year ago

The variable value will come from Metamask. It's the 12 word phrase they provide to you

https://support.metamask.io/hc/en-us/articles/360015290032-How-to-reveal-your-Secret-Recovery-Phrase

ksolo commented 1 year ago

@rizkidarmawan21 Did that answer your question? Can I close the issue?