Comments (13)
Hey @twilson63 - check out [email protected]
, it enables registration of contracts deployed using other providers than Irys. Here is release note for this change https://github.com/warp-contracts/warp/releases/tag/v1.4.23 (this change requires upgrading warp-contracts-plugin-deploy
to 1.0.11
. Let me now, if that works for you.
from warp.
@ppedziwiatr - Registering Contracts, just like with Irys.
ardrive upload-file ...atomic asset contract...
warp.register(CONTRACT_TX_ID, 'ardrive')
I would like the contract to be registered in the sequencer database, so that we can make it available for trade on bazar.
from warp.
Hey, thanks for the feature request, we will discuss/analyse this internally.
from warp.
@twilson63 can you please send some examples of such data-items/transactions?
The obivious problem is how to order such transaction in relation to the L1 and 'native' Warp L2 transactions.
I guess the simples solution would be to assing the sequencer/sortKey and the time of registering, but with some hint that the transaction should not be posted to Bundlr... @janekolszak , WDYT?
from warp.
Also...I believe that would still need to create a nested bundle and post it to Arweave - as the data assigned by the sequencer has to be stored on chain (i.e. on Arweave).
from warp.
I think this is a good idea, but it needs a new feature from Irys.
Warp's sequencer can't just accept txId
, because it's not a proof the tx is actually accepted by Irys.
We'd need a signed receipt (txId
should be a part of the signature).
This way every sequencer node could check that the tx with this txId
is uploaded to Irys without doing any requests. This is needed when registering interaction, but also upon sequencer block verification. There's an REST API to check if tx is on Irys, but it's not possible to make any requests during block verification.
from warp.
@janekolszak you mean from ar.io? :-) Turbo is ar.io's bundler...
from warp.
yes, sorry. So it should be easier ;)
from warp.
Here is an example:
https://viewblock.io/arweave/tx/Fc4XxUVxk-qPyrfA0eZ1NSFxfeUrokzDYqKX1ysAss4
You will notice it is bundled by ardrive turbo's bundler
I think their bundler node is https://upload.ardrive.io/
from warp.
Thank you Tom! Yes, our upload service can be found at https://upload.ardrive.io (https://upload.ardrive.io/api-docs) or our unified uploading/payment url at https://turbo.ardrive.io.
Clients that complete upload posts will receive the transaction ID for the data item. This data item transaction is immediately indexed within the arweave.net GQL and its data is also available in the arweave.net cache. Not sure if this would help you verify that the transaction ID is valid.
from warp.
ok @twilson63 , we need to explain one thing :-) - do you want to register contracts or interactions :-)? in the initial description you wrote:
Support Ardrive Turbo uploaded data to be sequenced.
- so I've understood that you would like to somehow register interactions posted to via Turbo with the sequencer.
But my collegaues suggested that you might have registering contracts in mind - so can you please clarify this?
Registering contracts should be much easier than interactions...
from warp.
Yes please.
from warp.
Warp's sequencer can't just accept txId, because it's not a proof the tx is actually accepted by Irys.
@vilenarios -- does Turbo support signed receipts? I believe that Iris does this, and it would make a lot of sense for Warp not to accept TXs without it.
If Turbo does support receipts, though, it would be incredible to see this in production! Issuing smart contracts and interacting with them, while paying in fiat, could be a 10x improvement in UX.
Sam
from warp.
Related Issues (20)
- [FEATURE] - warp-contracts-redis for caching contract state HOT 1
- [BUG] - unable to set custom contract cache when using custom arweave gateway HOT 2
- [BUG] - no prevention of proecessing duplicate interactions returned from GQL HOT 1
- [BUG]: Mismatching blockheight on evaluation HOT 1
- [BUG] Deploy Plugin: Super constructor null of anonymous class is not a constructor HOT 2
- [BUG] Silent errors using `arlocal@^v1.1.63` HOT 12
- [BUG] - readStateBatch returns null for contract with no interactions HOT 1
- [BUG] Error thrown on doReadState HOT 2
- [FEATURE] - support sortKey or blockHeight in `viewState` HOT 1
- [BUG] Frontend build error starting with version 1.4.30 HOT 3
- [BUG] Not getting latest state when reading DRE node HOT 2
- [BUG] - maxInteractionEvaluationTimeSeconds larger than Number.MAX_SAFE_INTEGER
- [BUG] Getting different state with and without using DRE node HOT 5
- [BUG] - `viewState` with `sortKey` not using proper block information HOT 2
- [BUG] In Rust WASM imports, the `__wbg_height` function expects a number but receives a string, causing a crash
- [FEATURE] Allow Optional Input Placement in Warp Contract Interactions (Tags vs. Data)
- [BUG] - Uncaught TypeError: Cannot read properties of undefined (reading 'AbortError') on web HOT 5
- [BUG] - absolute path breaking builds HOT 1
- [BUG] - Property 'handle' in type 'AbstractContractHandler<State>' is not assignable to the same property in base type 'HandlerApi<State>'.
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 warp.