Comments (5)
Hi @vernonjohnson ! Could you provide more context on the use case? I intended to not provide that option in favor of beaker console
, let me know if there is any reason against doing that through the console :)
from beaker.
Hi @iboss-ptk, appreciate the response. The problem with beaker console is that I can't effectively use it in a bash script. I want to deploy my contract via beaker CLI, then add execute messages to load some initial contract state; then finally output the results by querying my contract. And this should be doable in a single bash script. Since queries and arbitrary message execution is missing, I deploy with beaker then resort back to wasm query and execute commands to do the rest. And execute doesn't support dynamic encoding of submessages, which makes executing certain messages a pain. Ideally beaker could be use e2e.
There are several examples where both deployment and initialization are done via bash (e.g., DAODAO, WasmSwap). Would be a very useful to many devs IMO and would make beaker more feature complete.
from beaker.
@iboss-ptk Happy to help on the dev side with this if given some initial guidance
from beaker.
@vernonjohnson that was fast! This should make it works for now and this use case is related to #37.
Happy to hear more feedback on this, I'm considering making task script written in either rust, rhai or js. So multistage deployment or any type of automation related to the smart contract is at hand. Pretty much lean towards rust at the moment and having tasks as a cargo project inside beaker workspace since it's easy to just call the existing operations, and can just import contract msgs as dependencies. But that might require some refactoring.
Please let me know your thoughts
from beaker.
@vernonjohnson merged #103 and prettify json response, now available in v0.0.8! please update
from beaker.
Related Issues (20)
- Make Beaker js an npm package
- beaker cli broken after building osmosis binary HOT 8
- feat: allow to execute messages by code id instead of contract name HOT 1
- Optimize pipeline
- getState()?.counter.addresses.default missing "default" attribute when deploy the contract with --label HOT 6
- Instantiate should not error when there is no store code proposal HOT 1
- bake osmojs into the console
- Can't deploy to testnet with Beaker HOT 2
- Can't open beaker console after ts-gen HOT 4
- Deploying Contracts on Sei rather than Osmosis HOT 7
- run cosmos-sdk tx and query from Task script
- cargo install fails HOT 3
- h2 protocol error: http2 error: connection error detected: frame with invalid size HOT 2
- Can't install Beaker HOT 8
- do not prefix with artifacts if absolute path given
- make gov proposal to osmosis to upload contracts
- Build failure at optimization step
- Support for Windows
- Bail on external command line error
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 beaker.