Comments (4)
The title maybe mislead 🤔. It would be "Do api have Run
endpoint for rust client? If not (it's not i guess), maybe you can provide current api Docker file so I can I help add that Run
endpoint.
I expected something like rust playground + solana related create.
After that in ui should have separated section for both program
and client
side and run
button something like...
and when click run
it should call https://api.solpg.io/run
and get the result back at cli
.
Motivation
When user open the repos that contain both program and (simple) rust client. They should able to run both in playground.
Anyway JIT ts
and lazy load module should be more suitable (widely used) than rs
client example.
But I'm kinda bore to mess with ts
so I propose to take care of rust client example instead. 😅
And again, nothing serious here, just itchy to having fun with the playground.
from solana-playground.
- i can see nearly most example and test use
new KeyPair()
ints
or embed byte keypair inrs
which mean it should be fine for example purpose ondevnet
and maybe some serious warning (or blocking) formainnet
2. 3. 4.
Can be address with money or subscription (no joy), anyway I'm agree we should get back to this when things viable.
I will try POC ts
way while wait. 👍
from solana-playground.
Can you expand on this? Would love to hear how exactly this would work.
from solana-playground.
Would love to have something like this but I think there are a few problems with this approach.
- The server would need the keypair of the user to make this work
- The server would need internet access
- The server would need premium RPC endpoints on all networks to serve all those requests. Any free RPC provider would block the IP since we are sending it from the same location
- This would also add lots of load to the server(trying to do as little as possible from the server, that's why we are using wasm for the CLI's even though it would have been much easier to just have a server for it)
TS/JS sounds good for this purpose to do everything in the client. For now though, the main goal is to do the tests from the UI to have a different value proposition.
This would be great to return back to when browser tooling for Rust improves and we can do most if not all of these from the client.
from solana-playground.
Related Issues (20)
- Add token and mint account generators in test UI
- Editor menu appears below other elements on the page
- Non-awaited async function errors don't get caught HOT 2
- Lazy load bigger GitHub repositories
- Uable to deploy HOT 1
- Display Rust Analyzer status in the bottom bar
- Nuzman
- Error when testing with seeds HOT 2
- Unable to paste into public key field in test UI
- Enum does not exist error HOT 2
- Unable to deploy Solana smart Contract coded in Anchor HOT 8
- Unable to send and receive SOLs in playground's wallet HOT 2
- Hv
- Add ability to customize whether to close `SearchBar` dropdown component on outside click
- JSON payload is larger than allowed HOT 11
- HBushIA
- [Feature] Airdrop Option HOT 1
- Add basic autocomplete for the available terminal command names HOT 1
- [bug] "building..." hangs and does not show error in the console HOT 1
- localhost playground HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solana-playground.