mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
roller: add generators to connect to eth nodes
This commit is contained in:
parent
85debb1ce9
commit
9c3cd5240d
@ -72,12 +72,13 @@
|
||||
==
|
||||
::
|
||||
+$ init [nas=^state:naive own=owners]
|
||||
+$ net ?(%mainnet %ropsten %local)
|
||||
::
|
||||
+$ config
|
||||
$% [%frequency frequency=@dr]
|
||||
[%setkey pk=@]
|
||||
[%endpoint endpoint=@t]
|
||||
[%network net=?(%mainnet %ropsten %local)]
|
||||
[%endpoint endpoint=@t =net]
|
||||
[%network =net]
|
||||
==
|
||||
::
|
||||
+$ action
|
||||
|
@ -1,4 +1,4 @@
|
||||
::
|
||||
:- %say
|
||||
|= *
|
||||
[%roller-action %config %endpoint 'http://0.0.0.0:8545']
|
||||
|= [* [url=@t net=?(%mainnet %ropsten %local) ~] ~]
|
||||
[%roller-action %config %endpoint url net]
|
||||
|
4
pkg/arvo/gen/roller/local.hoon
Normal file
4
pkg/arvo/gen/roller/local.hoon
Normal file
@ -0,0 +1,4 @@
|
||||
::
|
||||
:- %say
|
||||
|= *
|
||||
[%roller-action %config %endpoint 'http://0.0.0.0:8545' %local]
|
4
pkg/arvo/gen/roller/network.hoon
Normal file
4
pkg/arvo/gen/roller/network.hoon
Normal file
@ -0,0 +1,4 @@
|
||||
::
|
||||
:- %say
|
||||
|= [* [net=?(%mainnet %ropsten %local) ~] ~]
|
||||
[%roller-action %config %network net]
|
@ -1,4 +1,9 @@
|
||||
::
|
||||
:- %say
|
||||
|= *
|
||||
[%roller-action %config %endpoint 'https://ropsten.infura.io/v3/2599df54929b47099bda360958d75aaf']
|
||||
:* %roller-action
|
||||
%config
|
||||
%endpoint
|
||||
'https://ropsten.infura.io/v3/2599df54929b47099bda360958d75aaf'
|
||||
%ropsten
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user