Skip to content

DIMO-Network/alchemy-pay-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alchemy-pay-poc

To run this, follow the terminal commands:

npm init -y
npm install express dotenv web3
node src/server.js

Then in another window, run:

curl -X POST http://localhost:3000/webhook -H "Content-Type: application/json" -d '{
  "appId": "testAppId",
  "orderNo": "testOrderNo",
  "crypto": "DIMO",
  "network": "polygon",
  "address": "0xTestWalletAddress",
  "status": "PAY_SUCCESS",
  "txHash": "0xFakeTxHash1234567890abcdef",
  "newSignature": "fakeSignatureForTesting"
}'

This is just an example payload for testing purposes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published