Skip to content

Commit

Permalink
Merge pull request #329 from algorandfoundation/dev
Browse files Browse the repository at this point in the history
v0.11.9
  • Loading branch information
pbennett authored Dec 2, 2024
2 parents c0dd912 + 9e41405 commit 84fcb63
Show file tree
Hide file tree
Showing 48 changed files with 68,256 additions and 69,343 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,41 +35,41 @@ This section provides instructions for running the protocol and UI in a local Al
pnpm install
```

- **Start the local network**
- **Start the local (fnet compatible) test network**

```bash
algokit localnet start
cd contracts; pnpm run localnet
```

- **Bootstrap the validator**

This command bootstraps a new master validator and funds two new test accounts. It also sets environment variables for LocalNet that will be used by the front-end.
```bash
pnpm run bootstrap
cd contracts/boostrap; pnpm run bootstrap
```

- **Launch the UI**

```bash
pnpm run dev
cd ui; pnpm run dev:localnet
```

## TestNet Development
## FNet Development

- **Navigate to the `ui` directory**

```bash
cd ui
```

- **Create a `.env.testnet` file**
- **Create a `.env.fnet` file**

Copy the TestNet variables from the [`.env.template`](./ui/.env.template) file into a new `.env.testnet` file. Check back often to make sure you're using the latest master validator app ID, set to `VITE_RETI_APP_ID`.
Copy the fnet variables from the [`.env.template`](./ui/.env.template) file into a new `.env.fnet` file. Check back often to make sure you're using the latest master validator app ID, set to `VITE_RETI_APP_ID`.

- **Launch the UI**

```bash
pnpm run dev:testnet
pnpm run dev:fnet
```

## Documentation
Expand Down
2 changes: 1 addition & 1 deletion contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The contracts themselves are written in Tealscript. See [Tealscript](https://tea

## Usage

### Algokit
### Algokit and Local sandbox

This repository assumes you have [AlgoKit](https://github.com/algorandfoundation/algokit-cli) installed and have a local network running on your machine. Run `pnpm run localnet` to start a specially configured trunk version of the node that supports the (still unreleased AVM 11) and that also configures a smaller amount of stake for tests. This special localnet sandbox is required for the system tests as they manipulate the block time offsets.

Expand Down
4 changes: 2 additions & 2 deletions contracts/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap",
"version": "0.11.8",
"version": "0.11.9",
"description": "",
"main": "index.ts",
"scripts": {
Expand All @@ -11,7 +11,7 @@
},
"license": "MIT",
"dependencies": {
"@algorandfoundation/algokit-utils": "7.0.0-beta.16",
"@algorandfoundation/algokit-utils": "7.0.0",
"algosdk": "2.9.0",
"prompts": "^2.4.2",
"yargs": "^17.7.2"
Expand Down
Loading

0 comments on commit 84fcb63

Please sign in to comment.