Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.81k stars 2.03k forks source link

[Bug] Simulator / Chialisp developer onboarding/learning process #16344

Open AdrianScott opened 1 year ago

AdrianScott commented 1 year ago

What happened?

Took another stab at Chialisp yesterday briefly

Profile: a dev on a laptop who's already running a full mainnet node

Details: https://twitter.com/adrianscottcom/status/1700829090251420119

Takeaways:

need to sort out simulator setup and environmental issues; have an easy way and instructions for running completely separately from mainnet etc install

chialisp tutorial perhaps should use or have an option for using simulator. i would compare this to developing using regtest on Bitcoin, which is easier and faster than trying w/ Bitcoin mainnet

-- process should really be friendly to the following environments, which should be tested:

dev already having full mainnet node running w/ packaged install
with previous versions installed and hard upgraded over
totally separate dev environment for testnet and simulator; no overlapping things that can screw things up, separate keychains
default tutorial and instructions should be based on this even if it means longer commands to pass config dirs etc
should match expectations of someone coming from bitcoin dev or eth dev w/ hardhat/truffle etc, except when there's major reason not to
default dev tutorial instructions should be built around simulator rather than testnet

Version

2.0.0

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

No response

AdrianScott commented 1 year ago

Hi, fyi, i created a new 'chiatest' o/s user, added it to sudoers, and was able to do a clean simulator setup and configuration that way. This could be mentioned in docs as one option.