Find Jobs
Hire Freelancers

develop a json api server with python and counterparty.

$250-750 USD

Completed
Posted about 9 years ago

$250-750 USD

Paid on delivery
This is a small part of the whole project and if it turns out good there will be oppurtunity for full contract. 1. * A https JSON API server. This refers to a client / server model that transfers data in JSON, is secured via an SSL tunnel and can take multiple connections simultaneously. 2. * To begin with, a single function but more to follow. 3. * The first function is to simply accept the following input parameters: destinationAddress, amount, asset, paymentId This goes into detail on the previously mentioned first function, which will take a JSON string and parse out: destinationAddress, amount, asset, paymentId destinationAddress: Regular bitcoin address. You could use a function to verify if the address is a bitcoin address. [login to view URL] amount: long integer asset: asset names are alphanumeric strings. There are some rules in the way that the string needs to be formatted and there are two types of asset names: 1) Asset names which start with 'A' and the remaining characters are numeric, 2) Asset names which are only alphabetical but can only start with 'B'. You can find some information in the code here: [login to view URL] paymentID: string 4. * The function call inserts into the following sqlite table structure: CREATE TABLE payments(blockId integer, sourceTxid string, sourceAddress string, destinationAddress string, outAsset string, outAmount integer, status string, lastUpdatedBlockId integer) column, value to insert blockId = 0 sourceTxid = paymentId sourceAddress = value from a configuration file - this value is the address at which we store our customer's token to be distributed. It will be different per customer and probably different if a customer has different projects with us destinationAddress = destinationAddress outAsset = asset outAmount = amount status = 'authorized' lastUpdatedBlockId = 0 5. *Support for OAuth/HMAC.
Project ID: 7081121

About the project

1 proposal
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
A proposal has not yet been provided
$555 USD in 10 days
5.0 (8 reviews)
3.7
3.7

About the client

Flag of INDIA
raigarh, India
4.8
1
Payment method verified
Member since Feb 3, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.