Skip to content

DappCamp final project, Simple Address is a decentralized application based on the Ethereum network that allows users to prove their ownership of multiple accounts to a third party without having to prove it individually for each of them. Simple Address makes this possible through a protocol that allows an account to designate another account as…

Notifications You must be signed in to change notification settings

SimpleAddress/simple-address

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-address

White Paper

Run Client Locally

npm install
npm run start

Contract Interface

Functions

registerAddress(string)

findByName(string) returns (address)

findByMeta(address) returns (string)

associate(address(meta), address(sub)) returns(bool)

approve(address(meta), address(sub)) returns(bool)

viewConnections(address, bool)

Events

event Registered(address(meta), string);

event Requested(address(meta), address(sub), address(sender));

event Approved(address(meta), address(sub), address(sender));

Comments:

  1. Either of meta or sub can initiate connection by calling associate()

  2. Connection is considered valid only after the other party calls approce()

  3. boolean input to viewConnections gives unverified connections if kept false. Gives only verified connections if kept true.

Work Left in the Contract

  1. Checking if the name string provided is palid (no starting with special characters, no spaces, etc)

  2. Remove feature, if the team agrees on it

  3. Add ownable and pausable extensions to the contract

About

DappCamp final project, Simple Address is a decentralized application based on the Ethereum network that allows users to prove their ownership of multiple accounts to a third party without having to prove it individually for each of them. Simple Address makes this possible through a protocol that allows an account to designate another account as…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published