Comments (2)
Thank you very much for your feedback. Sorry for not getting earlier back to you.
We will try to incorporate these issues into the tutorial video.
re: eth deposit - the paymaster pays with its deposit to the paymaster. It can withdraw this value anytime (using withdrawRelayHubDepositTo()
) the deposited amount can be anything you're comfortable with.
- Forwarder as constructor param: a contract is required to know its forwarder in order to work. its either a constructor parameter, or a setter functions (which also implies the contract is ownable - which is also acceptable).
- boilerplate: very interesting idea. Once we see some use-cases, we can add scripts to automate them.
- paymaster management: indeed, such a tool would be nice, though for the simplest use case (fund the paymaster) you can simply point your metamask at it, and transfer funds.
from workshop2.
@drortirosh No worries! Jumping into this thread since we already opened the conversation.
- re: Forwarder, I'm going to try using a proxy contract in between an existing contract which would take
_msgSender()
and see if I can get some traction like that. - I'm actually going to try that for a project where users submit EIP-712 permits for relay, in this case to a very simple contract which uses
msg.sender
so likely will have to prepend a proxy contract that would call the original one. - My uses case is allowing Poster's users to pay for other people's gas costs, which means that I would need to deploy GSN on their behalf that they need to manage. I'll toy with this concept and see if I produce any tooling we can reuse.
Let's hope we can get OpenGSN to a point it's as easy as this to call a Relayer, and a few clicks to deploy and fund the Paymaster.
from workshop2.
Related Issues (3)
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 workshop2.