Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
322 stars 204 forks source link

Friction in Docker-based Contract Deployment Workflow #9289

Open 0xpatrickdev opened 4 months ago

0xpatrickdev commented 4 months ago

What is the Problem Being Solved?

As a developer, I feel friction in the docker-based workflow. The main painpoint is contract deployments needing to go through the Docker container, and confusion as to whether I’m operating in a local context or docker context. The “magic” happening in the docker deploy scripts is also limiting my understanding of how bundles, contracts, and proposals work and how I can build them myself.

It would be great if I can deploy my contract via my own local CLI context, versus needing to do it through the Docker container. I may not have agd installed so Node.js scripts that can talk to my docker instance would be awesome.

Description of the Design

The current reasons for executing from inside Docker:

The path we might explore is:

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

aj-agoric commented 4 months ago

assigning to @sufyaankhan for product triage thoughts

dckc commented 3 months ago

one solution that gets kicked around now and then: