Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing broken pathway and typos #21

Open
wants to merge 1 commit into
base: feat/slimdocs
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pages/irys-sdk/api/fund.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { Callout } from "nextra-theme-docs";

# `irys.fund(amount)`

Funds the [Irys network](/overview/networks) you connected to with the specified number of tokens.
Funds the [Irys network](https://github.com/Irys-xyz/Irys-docs/blob/352323abeb1d6e64bbb1cdbb7d0e6fd55363d1d4/pages/overview/networks.mdx#L12) you connected to with the specified number of tokens.

**Parameters**

<div className="-mt-6" />- `amount`: The amount to fund ([in atomic units](/irys-sdk/api/utils-toAtomic)) -
<div className="-mt-6" />- `amount`: The amount to fund ([in atomic units](https://github.com/Irys-xyz/Irys-docs/blob/8106c4e7414edf68b4f4f5a85b4a4e80c92980f7/pages/developer-docs/irys-sdk/api/utils-toAtomic.mdx#L4) -
`multiplier`: Fee multiplier (optional)

**Returns**
Expand All @@ -28,7 +28,7 @@ response = {

## Upfront funding

You can up-front fund a node, where you send over enough funds to cover all of a project’s uploads. When upfront funding, you may want to [write a script to monitor your stored balance, topping up when needed.](/tutorials/basics/monitor-node-balance)
You can up-front fund a node, where you send over enough funds to cover all of a project’s uploads. When upfront funding, you may want to [write a script to monitor your stored balance, topping up when needed.](https://github.com/Irys-xyz/Irys-docs/blob/8106c4e7414edf68b4f4f5a85b4a4e80c92980f7/pages/hands-on/tutorials/monitor-node-balance.mdx#L9)

```js
try {
Expand Down Expand Up @@ -82,7 +82,7 @@ try {

## Paid RPCs

When [transferring tokens](/learn/funding-withdrawing) we use public RPCs. Sometimes these can be slow to confirm transactions. If you're experiencing an error when funding, consider using a paid RPC.
When [transferring tokens](https://github.com/Irys-xyz/Irys-docs/blob/8106c4e7414edf68b4f4f5a85b4a4e80c92980f7/pages/learn/funding-withdrawing.mdx#L4) we use public RPCs. Sometimes these can be slow to confirm transactions. If you're experiencing an error when funding, consider using a paid RPC.

```js
const network = "devnet;
Expand Down