CoinPayments Integration

Description of Problem or Opportunity

CoinPayments (CP) is upgrading their platform. This is the opportunity to add support for ZEC both as transparent and shielded.

Proposed Solution

  • Work with the CP team and design/implement an extension to their payment platform.
  • Build a payment gateway for ZEC that bridges between their server and Zcashd
  • Bundle Zcashd

Solution Format

To be worked out with the CP team but essentially it should be:

  • C# assembly that extends CP
  • A server that handles requests from CP servers
  • Zcashd full node

Technical approach

Setup

  • CoinPayment API documentation
    • Gather API documentation and examples,
  • Deploy integration environment,
    • Test with Bitcoin and Ethereum

ZEC transparent

  • Design C# Coinpayment interface library
    • Account address generation
    • Balance query
    • In flight transaction notification
    • Confirmation notification
    • Transaction History query
    • Payback transaction building
    • Transaction Signing
    • Transaction Broadcast
    • Unit tests for each feature

ZEC Shielded

  • Design C# Coinpayment interface library
    • Account address generation
    • Balance query
    • In flight transaction notification
    • Confirmation notification
    • Transaction History query
    • Payback transaction building
    • Transaction Signing
    • Transaction Broadcast
    • Unit tests for each feature

Zcash Payment Gateway

  • Account maintenance
    • Address pool
    • Output notes, UTXO
    • Spent notes
    • Viewing keys
    • Payments
    • Invoices
    • Receipts
    • Transaction History
  • Network notifications
    • React on new blocks
    • Handle reorg
  • Handle Coinpayment queries and mutations
  • Tests

GraphQL API

  • Query for Account status
    • Define Data Model
    • See Zcash Payment Gateway account data
    • Implementation

Administration Dashboard

  • Prometheus metrics
    • Total balance
    • Balance change
    • Last 1h, daily, and more
    • Payment received
    • Payment abandoned
    • Refunds
  • Graphana Dashboard

Marketing is NOT covered.

How big of a problem would it be to not solve this problem?

CP may drop support for Zcash if no one is going to provide support.

Execution risks

Not much risks except the dependencies on vendor participation.

Unintended Consequences Downsides

None

Evaluation plan

We should see a growth in commercial Zec acceptance

Schedule and Milestones

Project Tasks and Milestone

Plan was built with a resource of 1 person.

Budget and Payout Timeline

8 month-man at 150 $/h. The team is 2 people and therefore should take 4 months to deliver.

There may be additional costs billed by CP (ex: 10 000 USD integration fee).

Applicant background

I am a software engineer who worked for several major projects including: Windows (OS kernel), .NET framework (compiler and code generation) and SQL Server (Engine / query execution). I was also the CTO of startups and listed companies.

Tipping

Tips Received
???  
ZEC

Campaign

Requested Funding
$192,000
Open for Public Review