Endo Far Object helpers
The @endo/far
package provides a convenient way to use the Endo
distributed objects system without relying on the underlying messaging
implementation.
It exists to reduce the boilerplate in Hardened JavaScript vats that are running
in Agoric's SwingSet kernel,
@agoric/swingset-vat
,
or arbitrary JS programs using Hardened JavaScript and communicating via
@endo/captp
.
You can import any of the following from @endo/far
:
import { E, Far, getInterfaceOf, passStyleOf } from '@endo/far';