Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

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

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

Already on GitHub? # to your account

zero-install / cloud-IDE option for getting started with agoric-sdk #7032

Closed
dckc opened this issue Sep 11, 2021 · 15 comments
Closed

zero-install / cloud-IDE option for getting started with agoric-sdk #7032

dckc opened this issue Sep 11, 2021 · 15 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@dckc
Copy link
Member

dckc commented Sep 11, 2021

I just got it working on gitpod. Details to follow.

https://github.com/dckc/agoric-gitpod-nix

cc @michaelfig @katelynsills @rowgraus

@dckc dckc self-assigned this Sep 11, 2021
@katelynsills
Copy link
Contributor

Cool! What would this mean, exactly? Would it be for smart contract development or dapp development?

@dckc
Copy link
Member Author

dckc commented Sep 16, 2021

Either one, IIUC.

It means someone could follow a link to a web site that acts just like vs-code, with agorc-sdk, yarn, node, and go already installed and ready so that yarn test works. agoric init demo should work too.

I think I tested agoric start with the wallet and fake chain and all that.

@katelynsills
Copy link
Contributor

Ooo that sounds great!

@dckc
Copy link
Member Author

dckc commented Sep 16, 2021

connecting to the wallet doesn't seem to quite work...

2021-09-16T02:28:02.880Z web: 127.0.0.1:37292: Invalid origin host https://8000-purple-clam-arf9beuf.ws-us15.gitpod.io is not localhost

@dckc
Copy link
Member Author

dckc commented Sep 16, 2021

Here's a 20 minute live-coding session that shows me getting as far as the wallet connecting problem above:

ew... the video quality is horrible. I must have told OBS to use low resolution or something.

@dckc
Copy link
Member Author

dckc commented Sep 16, 2021

Yes! #3838 gets us past the localhost issue:

image

@dckc
Copy link
Member Author

dckc commented Sep 17, 2021

I'm not the only one having this funky terminal font issue. This settings tweak works for me just now:

"terminal.integrated.gpuAcceleration": "canvas"

@dckc
Copy link
Member Author

dckc commented Sep 17, 2021

@michaelfig with the wallet running in some gitpod origin, how do I tell a dapp such as the fungible faucet demo to talk to it?

@michaelfig
Copy link
Member

That's a yet-to-be-solved problem for browsers like Brave that aggressively block iframe service workers, cookies, and local storage, but with Chrome or Firefox, you can navigate your browser to https://local.agoric.com and fill out the form to point to your wallet with gitpod origin.

@samsiegart
Copy link
Contributor

The wallet connection works for me with the local.agoric.com method above, but the faucet doesn't connect to the API server:

WebSocket connection to 'ws://127.0.0.1:8000/api/fungible-faucet' failed

We need to somehow dynamically change the hardcoded origin to use the gitpod one.

@dckc
Copy link
Member Author

dckc commented Nov 22, 2021

One of the big challenges in this area is that we don't support the npm install -g agoric convention because things move too quickly for that to be cost-effective: it would only install the version most recently published to npm, which is rarely what we (the Agoric dev team) want. This is a known issue: #3857

@dckc
Copy link
Member Author

dckc commented Feb 28, 2022

another option to look into: https://stackblitz.com/

@dckc
Copy link
Member Author

dckc commented Apr 12, 2022

@ivanlei ivanlei added the documentation Improvements or additions to documentation label Dec 4, 2022
@Tyrosine22 Tyrosine22 self-assigned this Jan 10, 2023
@Tyrosine22
Copy link

I'm confused. Why is this item in the Doc board? It doesn't seem doc-related.

@dckc
Copy link
Member Author

dckc commented Jan 11, 2023

It's related to getting started. As you're discovering, I have used this issues list for all sorts of devrel stuff. Seems like it's time to be a little more consistent about scope. This sort of stuff can/should move to an agoric-sdk discussion. (I'm on a small screen just now but I can get to it in due course.)

@dckc dckc transferred this issue from Agoric/documentation Feb 19, 2023
@Agoric Agoric locked and limited conversation to collaborators Feb 19, 2023
@dckc dckc converted this issue into discussion #7033 Feb 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

6 participants