mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
f2c43edc99
Also switches everything to ropsten by default, including ivory pill. Batches work on ropsten now. Also adds +tx as a hacky development tool to create text for metamask to sign and then turn that into a batch. A useful reference for bridge and aggregator work.
15 lines
355 B
Plaintext
15 lines
355 B
Plaintext
:: Print most recently seen ethereum block
|
|
::
|
|
:: Note we require 30 confirmation blocks, so we should expect to have
|
|
:: processed only those blocks which are this number minus 30.
|
|
::
|
|
:- %say
|
|
|= [[now=@da @ our=@p ^] *]
|
|
:- %tang
|
|
=; block=@ud
|
|
[leaf+(scow %ud block)]~
|
|
.^ @ud
|
|
%gx
|
|
/(scot %p our)/eth-watcher/(scot %da now)/block/azimuth/noun
|
|
==
|