Push Value

Store a content object to storage or IPFS

Returns

A hash corresponding to the message.item_hash found in the Message object.

Arguments

  • content is required.

  • session is optional and defaults to None.

  • api_server is optional and defaults to aleph https://api2.aleph.im.

To Storage

def storage_push(
    content, 
    session, 
    api_server
)

To IPFS

def ipfs_push(
    content, 
    session, 
    api_server
) 

Last updated