mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
add ipfs test
This commit is contained in:
parent
ce512342b0
commit
93fb030350
@ -0,0 +1,13 @@
|
||||
-- aqua/ipfs_test.aqua
|
||||
data FunctionAddress:
|
||||
peer_id: string
|
||||
service_id: string
|
||||
|
||||
service IpfsCli("service-is"):
|
||||
params_from_cid(multiaddr: string, cid: string) -> []FunctionAddress
|
||||
|
||||
func check_utility_addrs(cid: string, multiaddr: string, ipfs_node: string, ipfs_service_id: string) -> []FunctionAddress:
|
||||
on ipfs_node:
|
||||
IpfsCli ipfs_service_id
|
||||
func_addrs <- IpfsCli.params_from_cid(multiaddr, cid)
|
||||
<- func_addrs
|
Loading…
Reference in New Issue
Block a user