Skip to content

Instantly share code, notes, and snippets.

View os2357's full-sized avatar
🏞️

Oliver Simon os2357

🏞️
  • Blockwatch Data Inc.
  • Kyoto, Japan
  • 03:54 (UTC +09:00)
View GitHub Profile
E095C3489B405D99BB8D1580E27B14E95CB217F65B88DD7F7F3ABD5A676E0F95
octez-node config init --data-dir /home/oxford --network https://teztnets.xyz/oxfordnet
wget https://oxfordnet-v18-shots.nyc3.digitaloceanspaces.com/oxfordnet-297278.rolling
octez-node snapshot import --data-dir /home/oxford --block BLkZmqSms1vj4bbsvSUX54AXA4vMa2BA5wW8NxFtzpbdEjUh5wJ oxfordnet-297278.rolling
octez-node run --data-dir /home/oxford --rpc-addr 127.0.0.1
octez-client gen keys alice
octez-client register key alice as delegate
octez-baker-Proxford run with local node /home/oxford alice --liquidity-baking-toggle-vote pass
octez-accuser-Proxford run
octez-client stake 10000 for alice
octez-client set delegate parameters for alice --limit-of-staking-over-baking 5 --edge-of-baking-over-staking 1
Slate
50
#f8fafc
100
#f1f5f9
200
#e2e8f0
300
#cbd5e1
400
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.015686275437474251</real>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Autogenerated theme file: fire-spring-darker
=============================================
https://github.com/benbusby/earthbound-themes -->
<plist version="1.0">
<dict>
<key>name</key>
<string>Earthbound - Fire Spring Darker</string>
<key>settings</key>
------------------------------------
# 1 Lending/Borrowing
------------------------------------
# 1.1 Lending: Lend 1 XTZ
# 1.2 Create New Vault
# 1.3 Deposit Collateral
# 1.4 Remove Collateral
# 1.5 Borrow XTZ
# 1.6 Repay Borrowed XTZ
# 1.7 Add USDt Collateral
Waiting for the node to be bootstrapped...
Current head: BMUQsHKFyt3Z (timestamp: 2023-03-29T10:09:06.000-00:00, validation: 2023-03-29T10:09:12.957-00:00)
Node is bootstrapped.
Estimated gas: 4908.465 units (will add 100 for safety)
Estimated storage: 44 bytes added (will add 20 for safety)
Operation successfully injected in the node.
Operation hash is 'opUQD3Ep7oJ4nyeSsRC1CNaEvba4ZybRKMTqhL3D67yn9CL2BmG'
NOT waiting for the operation to be included.
Use command
octez-client wait for opUQD3Ep7oJ4nyeSsRC1CNaEvba4ZybRKMTqhL3D67yn9CL2BmG to be included --confirmations 1 --branch BLRNntKCk6fw6eCywbYKu9J3ZfMaSiLjMb1RaTnuaSztT73A81p

Op model

Ticket

  • transfer_ticket // enable implicit accounts to transfer tickets to other implicit accounts

SR

  • smart_rollup_originate // originate, i.e. deploy smart rollups
  • smart_rollup_add_messages // add messages to the inbox shared by all originated SRs
  • smart_rollup_cement // cement a commitment if it has been published for long enough and there is no concurrent commitment for the same state update
  • smart_rollup_publish // regularly declare what's the new state of a given SR in a commitment
  • smart_rollup_refute // start or pursue a dispute, resolved through a refutation game, where two players seek to prove the correctness of their respective commitment (2 phases: dissection, resolution)
  • smart_rollup_timeout // put an end to a dispute if one of the two players takes too much time to send their next move
{
"address": "A89D083AB6B6CA0E6F566F13FEBB5B4C79BB9FC0",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "L1xR+fmxcAEj8nVEUc1nON40UO6ikFFnkyxhMT/H000="
},
"voting_power": "0"
}
curl -sS http://localhost:26657/net_info | jq -r '.result.peers[] | "\(.node_info.moniker)"'
Node7-v0.13.2-v0.13.2-v0.13.2-v0.13.2-v0.13.2-v0.13.2
masa-12-v0.13.2
namadaPublic-v0.13.2
namada-v0.13.2-v0.13.2
tendermint-namada-tn-validator-svc-nl-01-v0.13.2
namada02.cseunord1.cs.prod.chorus1.net-v0.13.2
HAX51Fin-v0.13.2-v0.13.2
cmsmrk01-v0.13.2
vara-v0.13.2