0xpatrickdev / agoric-vault-collateral-proposal

CoreEval Proposal and Permits for Inter Vault Collateral Type
0 stars 3 forks source link

docs: context/summary, verifing bundles, using hw wallet, AGORIC_NET in agops-cli #19

Closed 0xpatrickdev closed 1 year ago

0xpatrickdev commented 1 year ago
dckc commented 1 year ago

While we're tweaking the README, note the 4 commands to change the price can be reduced to:

oracle setPrice --pair stATOM.USD --keys $WALLET,$WALLET_2 --price 11.99

The 4 commands (accept x2, wallet send x2) to accept invitations are still necessary prerequisites.

dckc commented 1 year ago

Can I squeeze one more in, since this hasn't landed?

How about a link to:

and maybe some eye candy...

image

image

0xpatrickdev commented 1 year ago

Updated this PR once more. Think it's good to go if you want to give a quick once-over @dckc .

I am missing the note about cost. I can add that in a follow up PR. I am still not certain on the number, I'm not sure which one of these (if any) is correct:

image
dckc commented 1 year ago

Storage: 0.002 IST/byte

Column E looks right. 2,900IST for 1450kb.

Using agd --node=https://main.rpc.agoric.net:443 query swingset params we get:

beans_per_unit:
- beans: "1000000000000"
  key: feeUnit
- beans: "2000000000"
  key: storageByte
fee_unit_price:
- amount: "1000000"
  denom: uist

In spreadsheet form:

key note beans bytes IST
feeUnit   1000000000000    
storageByte   2000000000 1 0.002
  per Kb   1000 2.00
  b1-8fb...   1,456,129 2,912.258

This is also consistent with an Apr 24 comment of mine.

dckc commented 1 year ago

reminder:

I think with the exception of the 1 bundle with the lower-case fix, all these bundles are in mainnet1B-bundle-ids.md,

So $10k is less relevant.

dckc commented 1 year ago

p.p.s. it's probably still worth a "How much does it cost to upload contracts?" discussion.