Konubinix' opinionated web of thoughts

Hedera

Fleeting

hbars

Function Description
HbarUnit.Tinybar The atomic (smallest) unit of hbar, used natively by the Hedera network
HbarUnit.Microbar Equivalent to 100 tinybar or 1⁄1,000,000 hbar.
HbarUnit.Millibar Equivalent to 100,000 tinybar or 1⁄1,000 hbar
HbarUnit.Hbar The base unit of hbar, equivalent to 100 million tinybar.
HbarUnit.Kilobar Equivalent to 1 thousand hbar or 100 billion tinybar.HbarUnit.Megabar
HbarUnit.Megabar Equivalent to 1 million hbar or 100 trillion tinybar.
HbarUnit.Gigabar Equivalent to 1 billion hbar or 100 quadrillion tinybar.

https://docs.hedera.com/hedera/sdks-and-apis/deprecated/sdks/hbars#hbar-to

Hedera Consensus Service

Hedera File Service

Hedera Smart Contract Service

Hedera Token Service

account creation

either ecdsa or eddsa

a single account cannot have two sets of keys due to the underlying cryptography

https://www.devgem.io/posts/how-to-use-both-ed25519-and-ecdsa-keys-for-a-single-account-on-hedera

creation

sending some hbar to an evm address is enough to have an account created and activated.

link between evm and hedera

the EVM address is an alias of the account ID.

https://docs.hedera.com/hedera/tutorials/hello-world/create-fund-account

local node

three public networks

mainnet

testnet

previewnet

HBAR (ℏ)

does not work in deno

const { Client } = await import("npm:@hashgraph/sdk");
const client = Client.forTestnet()
> Warning: Not implemented: Http2Session.socket
{"grpc-status": "0"}

See https://github.com/denoland/deno/issues/20903

Notes linking here