ETHEREUM ACCOUNTS

A thread to know more about Ethereum accounts:
· definition
· account types
· account differences
· account fields
· private and public keys
· account creation
· keep your private key secret!
· contract account
· accounts and wallets

Source: Ethereum docs
DEFINITION of Ethereum Account

It's an entity with an ether (ETH) balance.

Accounts can send transactions on the Ethereum network.

Accounts can be:
- user-controlled.
- deployed as smart contracts.
ACCOUNT TYPES

Two account types:
- Externally-owned: controlled by anyone with the private keys.
- Contract: a smart contract deployed to the network, controlled by code.

Both account types can:
- receive/hold/send ETH and tokens.
- Interact with deployed smart contracts.
ACC DIFFERENCES

Externally-owned:
- No Creation Cost
- Can initiate transactions
- Transactions can only be ETH/token transfers

Contract:
- Creation cost
- Transactions only as responses to other transactions
- Transactions external -> contract account can trigger code/actions
ACCOUNT FIELDS:

- nonce: Transaction counter.
- balance: WEI owned by the address.
- codeHash: Code of an account on the EVM
- storageRoot: 256-bit hash of the root node of a Merkle Patricia trie. It encodes the storage contents of the account.
KEY-PAIRS FOR EXTERNALLY-OWNED ACCOUNTS

Accounts are made up of public and private key pairs.

The private key is used to sign transactions, so it grants custody over the funds associated with the account.
ACCOUNT CREATION

Creating an account on Ethereum by generating a private key is easy.

Private key:
- made up of 64 hex characters
- can be password-encrypted

Public key: generated from the private key

Public address:
0x + the last 20 bytes of the Keccak-256 public key hash
KEEP THE PRIVATE KEY SECRET

It's possible to derive new public keys from your private key. Never the opposite.

The private key is used to sign messages and transactions which output a signature, which can be verified by others in the network.
CONTRACT ACCOUNTS

They have a 42 character hex address:

Contract Address: usually given when a contract is deployed to the Ethereum Blockchain. It comes from the creator's address and the nonce.
WALLETS = ACCOUNTS?

An account is NOT a wallet!

Account:
is the key pair for an Ethereum account owned by a user.

Wallet:
is an interface or app that lets you interact with your Ethereum account.

Source: the Ethereum docs
If you find this interesting, consider following me @FrancescoCiull4 and sharing this thread.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Francesco Ciulla

Francesco Ciulla Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @FrancescoCiull4

5 Jan
⬛ETHEREUM TRANSACTIONS concepts

· definition
· transactions are for humans!
· the changed state in the EVM
· transaction information
· transaction types
· gas
· transaction lifecycle

Source: Ethereum docs.
Image
DEFINITION

What is a transaction on the Ethereum network?

A Transaction is a cryptographically signed instruction from accounts.

An account will initiate a transaction to update the state of the Ethereum network.

A common transaction is transferring ETH from account A to B.
TRANSACTIONS ARE FOR HUMANS!

A transaction refers to an action initiated by a human who owns an externally-owned account.

Example:
Alice sends ETH to Bob
A -----> B

This causes a change of the state on the EVM (Ethereum Virtual Machine).
Read 9 tweets
4 Jan
The question I get most often about containerization is: "What is a container?".

Let's make it simple, with my 2 favorite definitions:

1. From a logical point of view, it's a single and packaged unit of software.

2. From a technical point of view, it's an isolated process.

From a logical point of view, more understandable for a human, a container can be considered as a single unit of working software, with all its configurations and dependencies, packaged.

In this way, it can run quickly and reliably from one computer to another.
A container has its own dedicated filesystem, provided by an image.

The image contains:
-dependencies
-configuration
-binaries
-environment variables
-other important data related to the container to be instantiated.

Many containers can be run from a single image
Read 11 tweets
3 Jan
Hi 👋I am Francesco!

My goal is to help with Docker, content creation, and share my Web3 journey

My goal for 2022 is to IMPROVE📈
- the content's quality
- the quality of the connections with people

Follow me, you will not regret that
Have a great year! (sometimes I am funny)
I am very active on YouTube, here is the link.

The main activity here is to interview people, but occasionally I create some big events and make some experiments
youtube.com/channel/UCBRxD…
I am also active on Twitch.
Here I am very focused on the coding part so if you like the tech part you should follow me there
twitch.tv/francesco_ciul…
Read 8 tweets
1 Jan
Why a framework for DAPPS?

To have a feature out of the box, so we can focus on development.

There's a trade-off between the simplicity of a framework and the dependency it causes.

In the thread below, I've checked 10 of them.

⚠Remember to focus on the project, NOT the tool
TRUFFLE

Truffle is a development environment, testing framework, and asset pipeline for blockchains using EVM (Ethereum Virtual Machine)

The GitHub repository is very active and it has more than 12k stars and 2k forks.
github.com/trufflesuite/t…
HARDHAT

Hardhat is an Ethereum development environment for professionals. It's written in Typescript and it uses a plugin system.

The GitHub repository has 2.2k stars and 500 forks
github.com/nomiclabs/hard…
Read 13 tweets
31 Dec 21
Thank you to all the @portainerio team and for the collaborations during 2021

Special Thanks to @hrittikhere, we made amazing live streams together!

You can see a recap of all videos with the team below.

Oh and thank you for the nice SWAG!👕🖊🧦📘
How to install Portainer with Docker.

This has been the very first video, and in 4 minutes, I explain how you can install Portainer using Docker (yes you got it right). Very straightforward video.
Portainer Tech Show

First show with the Portainer Team, I really enjoyed this as it's a relaxed yet interesting chat with the Portainer team.

Guests:
Adolfo Delorenzo
Dimko
Ryan Gray
Read 6 tweets
31 Dec 21
18 people you should follow in 2022.

4 lines for each of them, with what I honestly think about them.

Check them out ↓
Csaba Kissi (@csaba_kissi )

Csaba is super talented and tweets about web development, color associations for websites. He is also a master of side projects, you should really check them!
Sumudu (@sumusiriwardana )

One of the kindest people on Twitter. She is PM at Hashnode and Developer Advocate at Dasha. Introverted like me, but when she will start for real she will become unstoppable, I am sure about that.
Read 19 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(