Skip to content

yaroslav-dudar/ripple_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Ripple API and transaction management

Settings

  • RIPPLE_ACCOUNT - account that acts as 'manager' and monitors incoming transactions
  • RIPPLE_SECRET - secret for 'manager' account
  • RIPPLE_API_DATA[0]['RIPPLE_API_URL']
  • RIPPLE_API_DATA[0]['RIPPLE_API_USER']
  • RIPPLE_API_DATA[0]['RIPPLE_API_PASSWORD']

Example Config:

RIPPLE_API_DATA = [
        {
    'RIPPLE_API_URL': 'http://s_west.ripple.com:51234',
    'RIPPLE_API_USER': '',
    'RIPPLE_API_PASSWORD': '',
}
]  # You can specify multiple servers and ripple_api app will try them in order if one of servers
#    returns error

Signals

  • ripple_api.signals.transaction_status_changed = Signal(providing_args=["old_status"]) - sent when existing Transaction's status is changed
  • default django's post_save signal is useful to get new Transactions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%