/starter-rsvp-attendee

Primary LanguageRenderScriptMIT LicenseMIT

starter-kit

The NP starter kit describes how to launch a NP RApp in minutes. Quickstart assumes that the local development environment for Reach has been setup.

quickstart

commands

git clone git@github.com:nash-protocol/starter-kit.git 
cd starter-kit 
source np.sh 
np

output

{"info":66944916}

how does it work

NP provides a nonintrusive wrapper allowing apps to be configurable before deployment and created on the fly without incurring global storage.
Connect to the constructor and receive an app id.
Activate the app by paying for deployment and storage cost. After activation, your RApp takes control.

how to activate my app

In your the frontend of your NPR included Contractee participation. Currently, a placeholder fee is required for activation. Later an appropriate fee amount will be used.

ctc = acc.contract(backend, id)
backend.Contractee(ctc, {})

terms

  • NP - Nash Protocol
  • RAap - Reach App
  • NPR - NP Reach App
  • Activation - Hand off between constructor and contractee require fee to pay for deployment and storage cost incurred by constructor

dependencies

  • Reach development environment (reach compiler)
  • sed - stream editor
  • grep - pattern matching
  • curl - request remote resource