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

build provisioning server #274

Closed
warner opened this issue Jun 2, 2019 · 3 comments
Closed

build provisioning server #274

warner opened this issue Jun 2, 2019 · 3 comments
Labels
cosmic-swingset package: cosmic-swingset

Comments

@warner
Copy link
Member

warner commented Jun 2, 2019

The "provisioning server" will be a (probably python-based) webserver that offers demo users the ability to get access to a bundle of demo resources. It will offer a form that says "click here to join the demo", which presents a magic-wormhole invitation code. On the client side, they run some demo-setup tool that we need to write, which uses that code to build a connection with the provisioning server, and exchange two things: their newly-minted ag-solo node's public key is traded for a configuration blob that includes the chain's GCI, the ipaddr/port of all the validator nodes (used as tendermint RPC servers), and the ingress index they should use in their bootstrap.js to access the demo objects.

The provisioning server will then use its localhost HTTP access to a controller ag-solo node to deliver a provisioning request to the chain vat objects. These objects will create the demo objects, then register them with the comms vat in a new egress, tied to the client's public key. Then the provisioning server will send the chain info to the client, and the client will configure its own bootstrap.js file before running ag-solo start.

@michaelfig
Copy link
Member

Note that the provisioning request should validate that the public key doesn't already have a corresponding egress.

@warner
Copy link
Member Author

warner commented Jun 20, 2019

This looks good, I think we can close this now.

@warner warner closed this as completed Jun 20, 2019
@warner
Copy link
Member Author

warner commented Dec 4, 2019

in the old repo. this was cosmic-swingset issue 10

@warner warner transferred this issue from another repository Dec 4, 2019
@warner warner added the cosmic-swingset package: cosmic-swingset label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmic-swingset package: cosmic-swingset
Projects
None yet
Development

No branches or pull requests

2 participants