https://github.com/frol/near-devhub-quest-002
https://github.com/frol/near-devhub-quest-002
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/frol/near-devhub-quest-002
- Owner: frol
- Created: 2025-03-07T16:11:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-07T16:52:21.000Z (over 1 year ago)
- Last Synced: 2025-03-07T17:34:01.919Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NEAR DevHub Quest 002
It is the second quest in the [NEAR DevHub](https://dev.near.org) Quests. Learn more in the [most recent DevHub Live episode](https://www.youtube.com/live/P9pCbtyGKzY?si=STLteoUUMUIC9n5p&t=2397).
This quest started on March 7th, 2025, and was deployed to [neardev-quest-002.frol.near](https://explorer.near.org/accounts/neardev-quest-002.frol.near).

## Quest
The quest is simple: withdraw 50 NEAR from the contract.
## Rewards
The rewards are 50 NEAR.
## Development
This quest uses an early version of [near-sdk-py](https://github.com/r-near/near-sdk-py).
### Prerequisites
- Python 3.9 or higher
- [uv](https://pypi.org/project/uv/)
- [NEAR CLI](https://near.cli.rs)
### Setup
1. Install dependencies:
```sh
uv venv
uv sync
```
2. Build the contract:
```sh
uvx nearc
```
3. Deploy the contract:
```sh
near contract deploy use-file main.wasm
```