Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
| const generateUpdateQuery = (fields) => { | |
| let exp = { | |
| UpdateExpression: 'set', | |
| ExpressionAttributeNames: {}, | |
| ExpressionAttributeValues: {} | |
| } | |
| Object.entries(fields).forEach(([key, item]) => { | |
| exp.UpdateExpression += ` #${key} = :${key},`; | |
| exp.ExpressionAttributeNames[`#${key}`] = key; | |
| exp.ExpressionAttributeValues[`:${key}`] = item |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
| $(function () { | |
| "use strict"; | |
| // for better performance - to avoid searching in DOM | |
| var content = $('#content'); | |
| var input = $('#input'); | |
| var status = $('#status'); | |
| // my color assigned by the server | |
| var myColor = false; |