-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclass 1.txt
75 lines (46 loc) · 1.55 KB
/
class 1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
type struct BlockDetails
{
Header []String
Body []String
}
Token for Land Registry:
------------------------
Fungible tokens - Each and evry token is same and is of same value
CBDC - Central bank digital curreny - $ USD - 1000000 - I supply -
ERC20 - Ethereum tokens
token ERC20 {
Supply()
Transfer()
Ownsership()
Destroy()
BalanceEnq()
}
Token -1M, validate who is the owner for 99th token
Get owner of 99th token - Ownership(uniqueid 99)
- Alice
- Bob
Non Fungible Tokens - ERC721
houseunique id - ASGFC765
{
owner Alice 1970
Bob 1980
Dan 2000
}
4000 node ->
(usera, userb, 10$, banka, bankb) ------- Ideal transaction payload
hashing is way of securing your data to store in unreadable format
sha256 -- input - (usera, userb, 10$, banka, bankb)
-- output - j87687hjnkjnk098098098n8798798jbjkb ---> blockchain
Hash is always one way ---->
Public: bitcoin, ethereum etc
------
1. To connect u need only wallet id (hexadecimal unique address)
2. Identity is anonymus
3. anyone can read/write data from ledger
Permissioned: etnetrprise like Hyperledger, R3 Corda ----> Banks - MOney lending/borrowing system --- sbi, hdfc, icici
-------------
1. u need to provide ur identity (public key, Digital certificates)
2. identity is revelaed
3. only actors who are eligible can connect to network
Private: (Quorum, Binance)
---------