Comments (4)
I recommend utilizing the current transaction batch/composition logics, which appear to be the "gno way" approach. This can be accomplished by creating batch-oriented contracts accessible to all through maketx call
or by directly using maketx run
.
You can find the pull request for the maketx run
feature here: #1001. Additionally, there is an example where 10 calls to the tests
realm are simulated in a single for loop here: https://gist.github.com/moul/ccf1e2aff64e7a1f0c5ca5e2d98d7e9a. Since it's Gno, you have the flexibility to implement any desired logic, efficiently.
I recommend delaying the discussion of creating a pseudolanguage for advanced transaction parsing within the mempool. Let's first identify the limitations of the current system. After that, we can focus on improving and expanding the mempool. It's important to keep the mempool simple, fast, and efficient.
Here are some suggestions to proceed:
- Prioritize integrating
maketx run
into the SDKs (js/ts and Go). - Consider writing wrappers to simplify contract development, allowing you to focus on specific code segments instead of writing full contracts. This approach would be similar to how
q_eval
works but with multiline support. - Consider developing a wrapper that generates a
maketx run
based on your intended calls. This reminds me of the composition logic in Python's Alchemy library, which functions as an "ORM" for transactions. - Think about developing
p/xxx
libraries to support common patterns for chaining conditional transactions.
from gno.
Let's close it :) can always open a new one should you have a usecase where MsgRun does not satisfy your needs.
from gno.
Does manfred's answer satisfy your question/problems? Are there action items on this issue? @notJoon
from gno.
@thehowl Oh, yes I think it's best to make it a function for now. no follow up action-item yet. should I close this issue or leave it open?
from gno.
Related Issues (20)
- [gno test]: default realm balance in tests HOT 1
- r/demo/profile standard for Avatar image
- [Namespaces] Permit additional addresses to a single namespace
- [gno.mod] Add `replace`
- [gnoweb/realms] Standardize hyperlink structure HOT 4
- [GnoVM] - Can't use `range` over integer values HOT 2
- Suggestion: AI assistant for Gno
- [docs] `docs.gno.land` overhaul HOT 4
- [infra] Observability overhaul
- [infra] Set up a status page on `status.gno.land` using BetterStack with alerts
- [infra] Set up a load testing workflow for PRs
- [infra] Create and share institutionalized Helm charts for orchestrating gno services
- [infra] Define IaC Terraform code for gno infra deployment
- [infra] Set up GitOps
- bug(gnovm): Incorrect pointer comparison
- Constant Declaration with Slice Type Compiles Without Error HOT 1
- [infra] Minimal Setup of Observability node running monitoring service
- `gno fmt` adds an extra line at the end of the file HOT 3
- Panic on Type Assertion with Interface HOT 2
- Incorrect Variable Assignment
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 gno.