Comments (2)
set a lower limit for api calls, where minimum purchase possible==1000 queries
Ok, I had started to document it as 100 queries min, but I'll change it to 1000 min
display all pricing info as cost_per_query eg $0.0001/query - TBD
I think it'll be best to return api_call_cost in terms of cost per 1000 queries, since that is the minimum they can pay. That will also prevent us from having too many zeros before the number of interest (e.g. 0.000000001 ETH)
when a payment is made after the expiry_time has passed, refund the full payment minus gas fees - TBD
I think this one will have to wait till Snode payment processor logic is integrated with payment channel Smart Contract, but I'll document it this way in the API docs.
Thanks for creating the issue!
from eth-payment-processor.
when a payment is made after the expiry_time has passed, refund the full payment minus gas fees - TBD
This won't be possible till after we have payment channel smart contracts in place. For now, payments made after quote_expiry_time has passed will get half the normal number of API calls awarded. This is basically what the old payment processor did, though in an extremely complex and convoluted way which was mixed up with tier1 vs tier2 Hydra considerations.
the same address should be returned for all available payment networks: eth_address, avax_address and nevm_address
I tried, but failed to get this to happen. The web3 lib code which generates the address for a new web3 account accepts a secret token, which is basically just a cryptographically strong large random number. I thought by passing the exact same secret token to the code that generates eth_address, avax_address and nevm_address, I'd get the same address generated for all 3. It didn't work that way.
from eth-payment-processor.
Related Issues (20)
- geth host
- add HOST_TYPE
- remove unwanted 3rd party conns HOT 3
- Add CI to eth-payment-processor repo HOT 3
- Migration script
- check nodes status
- consistent format for discount env vars HOT 1
- Activate project w/ aBLOCK payment failed HOT 1
- Failed to activate project w/ ETH payment HOT 3
- payment processor using 100% CPU
- Add AVAX as a payment option HOT 2
- Payments - feature changes
- Method `request_project` takes over a minute to respond HOT 2
- [Bug] eth-payment-processor:latest container keeps restarting
- Suggestion to replace WSYS with SYS (NEVM token) in eth-payment-processor
- the same address should be returned for all available payment networks: `eth_address`, `avax_address` and `nevm_address`
- when a payment is made after the `expiry_time` has passed, refund the full payment minus gas fees - TBD
- user should be able to call the `extend_project` method at any time to top up existing calls - TBD HOT 2
- Memory Leak?
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 eth-payment-processor.