Skip to content

Commit

Permalink
remove cruxid from ui
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Dec 25, 2020
1 parent 5aae647 commit 389ac23
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
25 changes: 0 additions & 25 deletions ZelFront/src/components/ZelAdmin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,31 +72,6 @@
</el-popconfirm>
</div>
<div v-if="zelAdminSection === 'manageflux'">
<p>
Manage your Crux ID. In case of additional node rewards, users can send you assets to the following Crux ID.
</p>
<br>
<el-input
class="width25"
placeholder="Crux ID"
v-model="cruxidInput"
>
</el-input>
<br>
<el-popconfirm
confirmButtonText='Update'
cancelButtonText='No, Thanks'
icon="el-icon-info"
iconColor="orange"
title="Flux will now update your Crux ID."
@onConfirm="adjustCruxID()"
@confirm="adjustCruxID()"
>
<ElButton slot="reference">
Update Crux ID
</ElButton>
</el-popconfirm>
<el-divider></el-divider>
<p>
Running Kadena node makes you eligible for Kadena Rewards. Adjust your Kadena Account and Chain ID to ensure the reward distribution.
</p>
Expand Down
7 changes: 0 additions & 7 deletions init.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@ const questions = [
name: 'zelid',
message: 'Flux uses Zel ID system for authentication and verification purposes. What is your Zel ID?',
},
{
type: 'input',
name: 'cruxid',
message: 'By running applications on Flux, you can be awarded in many currencies. What is your Crux ID to which we can distribute your rewards?',
},
];

function showQuestions() {
inquirer.prompt(questions).then((answers) => {
console.log(`IP address: ${answers.ipaddr}`);
console.log(`Zel ID: ${answers.zelid}`);
console.log(`Crux ID: ${answers.cruxid}`);
if (answers.ipaddr.length < 5 || (answers.ipaddr.indexOf('.') === -1 && answers.ipaddr.indexOf(':') === -1)) {
console.log('IP address is NOT valid!');
return showQuestions();
Expand All @@ -57,7 +51,6 @@ function showQuestions() {
initial: {
ipaddress: '${answers.ipaddr}',
zelid: '${answers.zelid}',
cruxid: '${answers.cruxid}',
testnet: false
}
}`;
Expand Down
1 change: 0 additions & 1 deletion sampleUserConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
initial: {
ipaddress: '127.0.0.1',
zelid: '1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC',
cruxid: '[email protected]',
kadena: 'kadena:3a2e6166907d0c2fb28a16cd6966a705de129e8358b9872d9cefe694e910d5b2?chainid=0',
testnet: false,
},
Expand Down

0 comments on commit 389ac23

Please sign in to comment.