Comments (2)
Hi, sure - totally transparent here and hopefully handled in a way that respects the privacy of your keys.
- For AR transactions, arloader doesn't take anything, it just processes the transactions with reward going to the network. There is no place in the code even for an option to do anything like that. That applies to one file uploaded by itself, multiple files upload individually, uploading a single bundle, or uploading multiple bundles.
- For paying with sol, arloader doesn't send your keys any where. In order to process the transaction at the arloader.io endpoint, arloader sends a prepared and signed solana transaction along with the elements of the arweave transaction needed to create a signature. Then it sends those to the endpoint, submits the sol tx to solana, verifies that the amount was correct and then signs the tx elements with an ar wallet and sends the signature back to the arloader client. That signature is then added to the local tx with data and submitted directly to arweave. The amount of the sol tx is calculated by arloader locally based on the required ar reward, including any multiplier, if any.
- You can always check to see how much transactions will cost by running
arloader estimate
and include--with-sol
to get the estimate in SOL. U.S. dollars included for both as an additional point of reference. You can also then check the Solana and Arweave block explorers to confirm the amounts. Mostly for simplicity sake, I have the sol amount at a fixed exchange rateLine 26 in a7a7548
- The arloader code is completely open source, so you can check all of this to verify. Here is the code for creating the solana tx.
Line 108 in a7a7548
Line 967 in a7a7548
Hope that helps, happy to answer any other questions.
If you are planning on using regularly for any kind of volume and have ideas on features / improvements that would be valuable, I'd be keen to hear about those.
from arloader.
from arloader.
Related Issues (20)
- Insanely high upload time? HOT 14
- crash when tx status returns internal server error HOT 10
- Getting StatusCodeNotOk errors after trying to upload with SOL HOT 10
- NotFound when using multiplier 0 to 3 HOT 13
- Trying to upload png/json HOT 9
- Constant issues with uploading nft set - StatusCodeNotOk HOT 6
- Transaction for upload-nfts complete, but files inaccessible HOT 6
- Add number of items limit to bundle size
- StatusCodeNotOK - Can't Upload 10k Set - 0.1.62 HOT 2
- StatusCodeNotOk HOT 1
- Rust nightly toolchain HOT 3
- StatusNotOK HOT 14
- error: Invalid value for '<FILE_PATHS>...': Path does not exist. HOT 2
- what am i doing wrong? HOT 11
- get-status JSON output panics HOT 2
- StatusNotOK HOT 11
- Cannot create w2w transaction
- funding transactions with SOL - upload not completed - SOL deducted HOT 2
- Custom Gateway - instead of `arweave.net`
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 arloader.