diff --git a/dappnode_package.json b/dappnode_package.json index 407e330..daf66bb 100644 --- a/dappnode_package.json +++ b/dappnode_package.json @@ -6,26 +6,6 @@ "description": "The Trustlines Protocol aims to provide the service of “transfer of value” without actually transferring value. This can be accomplished by leveraging networks of mutual-trust. The Trustlines Protocol is being built to support a range of use cases by leveraging existing networks of mutual trust and mapping trust-based relationships onto trustless infrastructure", "avatar": "/ipfs/QmcpEAc5CsaSD5jc1rkmiGtjtpxDaWDMHUWWh2tUgXFhDC", "type": "service", - "chain": "ethereum", - "image": { - "path": "trustlines.dnp.dappnode.eth_0.0.1.tar.xz", - "hash": "/ipfs/QmQm8jkGDtefmVmtBBGY5HJ9cMS5EoHKA53cXWXgeK7yyD", - "size": 25629780, - "restart": "always", - "volumes": [ - "data:/data", - "config:/config/custom" - ], - "environment": [ - "ROLE=observer", - "ADDRESS", - "PASSWORD" - ], - "ports": [ - "30300", - "30300/udp" - ] - }, "requirements": { "minimumDappnodeVersion": "0.2.10" }, @@ -43,9 +23,7 @@ "contributors": [ "Eduardo Antuña (https://github.com/eduadiez)" ], - "categories": [ - "Blockchain" - ], + "categories": ["Blockchain"], "links": { "homepage": "https://github.com/dappnode/DAppNodePackage-trustlines#readme", "trustlines": "https://trustlines.network", diff --git a/disclaimer.md b/disclaimer.md new file mode 100644 index 0000000..ec5529f --- /dev/null +++ b/disclaimer.md @@ -0,0 +1,15 @@ +This software is experimental, presented 'as is' and inherently carries risks. By installing it, you acknowledge that DAppNode Association has done its best to mitigate these risks and accept to waive any liability or responsibility for DAppNode in case of any shortage, discrepancy, damage, loss or destruction of any digital asset managed within this DAppNode package. + +This package stores private keys, which will be stored in your DAppNode. Neither DAppNode Association nor the developers of this software can have access to your private key, nor can help you recover it if you lose it. + +You are solely responsible for keeping your private keys and password safe and to perform secure backups, as well as to restrict access to your computer and other equipment. To the extent permitted by applicable law, you agree to be responsible for all activities that have been conducted from your account. You must take all necessary steps to ensure that your private key, password, and recovery phrase remain confidential and secured. + +This is an Alpha version of experimental open source software released as a test version under an MIT license and may contain errors and/or bugs. No guarantee or representations whatsoever is made regarding its suitability (or its use) for any purpose or regarding its compliance with any applicable laws and regulations. Use of the software is at your own risk and discretion and by using the software you acknowledge that you have read this disclaimer, understand its contents, assume all risk related thereto and hereby release, waive, discharge and covenant not to sue DApppNode Association, NodeHodlers nor Brainbot Labs Establishment or any officers, employees or affiliates from and for any direct or indirect liability resulting from the use of the software as permissible by applicable laws and regulations. + +**Privacy Warning** + +Please be aware, that by using the Trustlines Network client, your address and all the transactions relating to it will be stored on the Trustlines Network chain, i.e. on servers of Trustlines node operators and ergo are to a certain extent publicly available. Data present in the Trustlines chain is very unlikely to be able to be changed, removed or deleted from the public arena. + +**For validators** + +Note that receiving block rewards and transaction fees is dependent on a community of validators emerging and the potential users of the Trustlines Blockchain. The Trustlines Foundation cannot guarantee that a Trustlines Blockchain including the chain spec as proposed by the Trustlines Foundation actually emerges out of the actions of these third party stakeholders. Hence, participating in the auction and/or running a validator node does not entail a right or an entitlement in any way whatsoever to either becoming and/or remaining a validator or receiving block rewards and/or transaction fees. diff --git a/releases.json b/releases.json index a373f4b..7da5e9d 100644 --- a/releases.json +++ b/releases.json @@ -1,9 +1,9 @@ { "0.0.1": { - "hash": "/ipfs/QmNwuhjH7Wv3m5y9wgLnXpzNsGPmasUi9PHRBtytRdaBYP", - "type": "manifest", + "hash": "/ipfs/QmaoCZkST5pHfbjVx5yR5bJyhXSrNrdmYNhkND1LCimii8", + "type": "directory", "uploadedTo": { - "dappnode": "Thu, 26 Sep 2019 14:16:44 GMT" + "dappnode": "Mon, 18 Nov 2019 15:49:18 GMT" } } } \ No newline at end of file diff --git a/setup-target.json b/setup-target.json new file mode 100644 index 0000000..684c159 --- /dev/null +++ b/setup-target.json @@ -0,0 +1,18 @@ +{ + "role": { + "type": "environment", + "name": "ROLE" + }, + "keystore": { + "type": "fileUpload", + "path": "/config/custom/keys/Trustlines/main-keystore.json" + }, + "keystoreAddress": { + "type": "environment", + "name": "ADDRESS" + }, + "keystorePassword": { + "type": "environment", + "name": "PASSWORD" + } +} diff --git a/setup-ui.json b/setup-ui.json new file mode 100644 index 0000000..4612c22 --- /dev/null +++ b/setup-ui.json @@ -0,0 +1,11 @@ +{ + "ui:order": ["role", "*"], + "keystorePassword": { + "ui:widget": "password" + }, + "keystoreAddress": { + "errorMessages": { + "pattern": "Must be a valid address (0x1fd16a...)" + } + } +} diff --git a/setup.schema.json b/setup.schema.json new file mode 100644 index 0000000..401e9f8 --- /dev/null +++ b/setup.schema.json @@ -0,0 +1,52 @@ +{ + "description": "Welcome to DAppNode's Trustlines Network configuration wizard!\n\nWe'll help you set up your node according to your needs, just follow the steps below:", + "type": "object", + "properties": { + "role": { + "type": "string", + "title": "Node role", + "description": "The Trustlines Network node can operate in three different modes:\n\n 1. **Observer** - for a node without an address that just wants to monitor the activity in the network,\n 2. **Participant** - for those nodes who have/want an address and want to actively broadcast transactions, and\n 3. **Validator** - for those who successfully bid for a [Validator slot](https://medium.com/trustlines-foundation/trustlines-validator-spotlight-deep-dive-on-rewards-economics-and-opportunities-for-validators-ec75f81088a6) during Trustlines Foundation's Validator Auction and will be validating the network.\n\n\nSelect your preferred option on the drop-down menu below. Please note you won't be able to Validate if your address was not whitelisted at the end of the Validator Slots auction.", + "enum": ["observer", "participant", "validator"], + "default": "observer" + } + }, + "required": ["role"], + "dependencies": { + "role": { + "oneOf": [ + { + "properties": { + "role": { + "enum": ["observer"] + } + } + }, + { + "properties": { + "role": { + "enum": ["participant", "validator"] + }, + "keystore": { + "type": "string", + "format": "data-url", + "title": "Keystore", + "description": "Your Keystore/JSON file containing the private key that you want to use for this node" + }, + "keystoreAddress": { + "type": "string", + "title": "Public Address", + "description": "Public address from the keystore.\nFor validators, you will use this address to seal blocks so it must be an authorized validator address, you can check the valid addresses in [this list](https://github.com/trustlines-protocol/blockchain/blob/1c664ff7d28998b7070c9edb3b325062a5365aad/chain/tlbc/tlbc-spec.json#L11)", + "pattern": "^0x[a-fA-F0-9]{40}$" + }, + "keystorePassword": { + "type": "string", + "title": "Password", + "description": "Password to unlock the uploaded keystore" + } + }, + "required": ["keystore", "keystoreAddress", "keystorePassword"] + } + ] + } + } +}