Internet Computer Identity — a Journey of Discovery

Dfinity — Internet Computer

The Importance of the IC Identity

Article Overview

Explanation of the IC Identity

Elements of an identity
  • Name; The name is simply a name on the local machine and has no further use.
  • Principal Identifier; The principal identifier represents a unique identifier for the particular identity. This identifier will be visible for the developer and represents the current user. It can also be seen as the public key in a special hash format.
  • Account Identifier; The account identifier is the link to the ledger canister. This identifier is needed to get some ICPs for the cycle conversion.
Request envelope

Controller and Custodian Roles

  • Add and remove other principals as controllers;
  • Authorise and deauthorize other principals as custodians;
  • Add entries to the cycles wallet address book;
  • Access the cycles wallet balance and all other wallet-related information;
  • Send cycles to other canisters;
  • Accept receipt of cycles from other canisters;
  • Rename the cycleswallet;
  • Create canisters and additional cycles wallets.
  • Access the cycles wallet balance and all other wallet-related information;
  • Send cycles to other canisters;
  • Accept receipt of cycles from other canisters;
  • Create canisters.

Cycles Wallet

Way to get some cycles
  • There are two possibilities to get some ICPs. Either you buy some ICPs on an exchange of your choice or you swap existing coins to ICP.
  • With ICPs you can use the account identifier to convert some cycles and deposit them into a cycles wallet.
  • The cycles wallet can supply the canister with enough cycles to operate properly. One cycles wallet can be used for different projects.
  1. Use the dfx wallet command.
  2. Use the dfx canister command.
  3. Use the canisters GUI.
Cycles wallet GUI

Key Findings

  • Always make a backup of the identity folder.
  • The principal identifier represents the textual representation of the private key and can also be seen as the public key.
  • The account identifier is the link to the IC mainnet ledger.
  • Be careful who you assign to the controllers and custodian roles.
  • Watch the account balance of the canisters to avoid falling below the threshold limit.
  • Use different identities for different projects in the case you work for different clients.

Additional Links

--

--

--

CEO sdg - samlinux development group and focused on the Internet Computer and Cloud Computing Engineering.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Choosing the Right Data Structure

Use Twilio to Send Text Messages

images/twilio/get-twilio-outbound-number.png

Top 10 Most Exciting re:Invent 2019 Announcements

The AWS logo on the floor with an orange filter

When I was in Junior High School I remember my Ethics teacher saying everything we do has an…

Sharing secrets with the 1Password CLI

Buffer underun: My not stack overflow

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bole Roland

Bole Roland

CEO sdg - samlinux development group and focused on the Internet Computer and Cloud Computing Engineering.

More from Medium

Motoko Bootcamp — a recap

Dominic: How Internet Computers Bring 1 Billion Users to Blockchain

Review of using Openchat

The 2022 Catalyze Inspirational Women Series comes to an end