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.
commands
git clone git@github.com:nash-protocol/starter-kit.git
cd starter-kit
source np.sh
np
output
{"info":66944916}
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.
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, {})
- 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
- Reach development environment (reach compiler)
- sed - stream editor
- grep - pattern matching
- curl - request remote resource