Skip to content

Create campaign - deposit to channel #43

@ivopaunov

Description

@ivopaunov

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions