Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snarkvm cli doc doesn't mention .env #411

Open
bendyarm opened this issue Feb 3, 2025 · 1 comment
Open

snarkvm cli doc doesn't mention .env #411

bendyarm opened this issue Feb 3, 2025 · 1 comment

Comments

@bendyarm
Copy link
Collaborator

bendyarm commented Feb 3, 2025

If you do snarkvm new hello and follow the examples in the documentation here
it doesn't work because of a missing .env file.
(Note, the requirement was added here.)

If snarkvm new were to create a working .env file then the example would work,
but unless and until then, the documentation should have
a step where the .env file is created.
Note, if you are just trying out a test program and don't care about the network or private key,
you can use a dummy file like this:

NETWORK=mainnet
PRIVATE_KEY=APrivateKey1zkp4X9ApjTb7Rv8EABfZRugXBhbPzCL245GyNtYJP5GYY2k
@bendyarm
Copy link
Collaborator Author

bendyarm commented Feb 5, 2025

Note for comparison, leo new foo does create a .env file so the Leo doc is OK in relation to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant