Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement qr code for base node #3977

Merged
merged 4 commits into from
Mar 30, 2022
Merged

feat: implement qr code for base node #3977

merged 4 commits into from
Mar 30, 2022

Conversation

alex1307
Copy link
Contributor

@alex1307 alex1307 commented Mar 30, 2022

Description

Create a QR code for the link tari://base_nodes/add&name=NODE_ID&peer=PEER
Where PEER is a formatted string: PublicKey::PublicAddress

Motivation and Context

Users should be able easy to add a base node just scanning the QR printed in base node console.

How Has This Been Tested?

Manually, running the tari_base_node and scanning the QR using the Aurora app.
The base node should be listed if everything is correct.

Create a QR code for the link `tari://base_nodes/add&name=NODE_ID&peer=PEER`
Where PEER is a formatted string: PublicKey::PublicAddress

Motivation and Context
Users should be able easy to add a base node just scanning the QR printed in base node console.

How Has This Been Tested?
Manually, running the `tari_base_node` and scanning the QR using the Aurora app.
The base node should be listed if everything is correct.

Changes to be committed:
	modified:   .gitignore
	modified:   applications/tari_base_node/Cargo.toml
	modified:   applications/tari_base_node/src/commands/command/whoami.rs
@alex1307 alex1307 changed the title wip: Description wip: Implement qr code for base node -> mobile Mar 30, 2022
@alex1307 alex1307 changed the title wip: Implement qr code for base node -> mobile wip: implement qr code for base node -> mobile Mar 30, 2022
@alex1307 alex1307 changed the title wip: implement qr code for base node -> mobile [wip]: implement qr code for base node -> mobile Mar 30, 2022
Description

Create a QR deep link code pointing to `/base_nodes/add` according to the RFC-0154, so that the wallet can scan it and set the base node.

Motivation and Context
Users should be able easy to add a base node just scanning the QR printed in base node console.

How Has This Been Tested?
Manually, running the `tari_base_node` and scanning the QR using the camera and opening the URL with the Aurora app.
The base node should should be listed.
@stringhandler stringhandler changed the title [wip]: implement qr code for base node -> mobile feat: implement qr code for base node Mar 30, 2022
@aviator-app aviator-app bot merged commit 2f618a2 into tari-project:development Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants