Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create campaign - deposit to channel #43

Open
2 tasks
ivopaunov opened this issue Feb 14, 2024 · 0 comments
Open
2 tasks

Create campaign - deposit to channel #43

ivopaunov opened this issue Feb 14, 2024 · 0 comments
Assignees

Comments

@ivopaunov
Copy link
Member

ivopaunov commented Feb 14, 2024

The way campaign openin will work is as follow

  1. user input for cratives, targetig, amounts etc. https://github.com/orgs/AmbireTech/projects/54/views/1?pane=issue&itemId=26684949
  2. When everithing is ready (validated) on the frontend (maybe additional backend validation) deposit with campaign budget to the OUTPACE channel is required.
  3. Deposit to the OUTPACE will e done by sending transaction from the user's "Ambire Wallet" using the SDK.
outpaceContract.deposit(channel, recipient, amount) ...

https://github.com/AmbireTech/adex-protocol-eth/blob/4ddebac4109e9709c4cc862ee0708f208dac9ee2/contracts/OUTPACE.sol#L51

  1. We send the campaign data to the backend with the transaction hash when the transaction is mined.

To be done:

  • Deposit transaction to OTPACE channels
  • Transaction confirmation on the frontend before sending the campaign data to backend
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants