Skip to content

Commit

Permalink
docs(contract-basics): link fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Dec 7, 2023
1 parent 0bb29ae commit 2531017
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main/guides/getting-started/contract-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ a method of the contract's `publicFacet`:

We mark it `Far(...)` to allow callers from outside the contract
and give it a suggestive interface name for debugging.
_We'll discuss [Far in more detail](../js-programming/far.html) later._
_We'll discuss [Far in more detail](../js-programming/far.md) later._

Putting it all together:

Expand All @@ -32,11 +32,11 @@ Let's use some tests to explore how a contract is used.

Agoric contracts are typically tested
using the [ava](https://github.com/avajs/ava) framework.
They start with `@endo/init` to establish a [Hardened JavaScript](../js-programming/hardened-js.html) environment:
They start with `@endo/init` to establish a [Hardened JavaScript](../js-programming/hardened-js.md) environment:

<<< @/snippets/zoe/test/test-zoe-hello.js#test-imports

_We'll talk more about [using `E()` for async method calls](../js-programming/eventual-send.html) later._
_We'll talk more about [using `E()` for async method calls](../js-programming/eventual-send.md) later._

A test that the `greet` method works as expected looks like:

Expand Down Expand Up @@ -79,6 +79,6 @@ Note that the `set()` method has no access check inside it.
Access control is based on separation of powers between
the `publicFacet`, which is expected to be shared widely,
and the `creatorFacet`, which is closely held.
_We'll discuss this [object capabilities](js-programming/hardened-js.html#object-capabilities-ocaps) approach more later._
_We'll discuss this [object capabilities](../js-programming/hardened-js.md#object-capabilities-ocaps) approach more later._

Next, let's look at minting and trading assets with [Zoe](../zoe/).

0 comments on commit 2531017

Please sign in to comment.