Skip to content

feat: parent.subaccount(name) -> AccountId#51

Merged
frol merged 4 commits intonear:mainfrom
mitinarseny:feat/subaccount
Dec 11, 2025
Merged

feat: parent.subaccount(name) -> AccountId#51
frol merged 4 commits intonear:mainfrom
mitinarseny:feat/subaccount

Conversation

@mitinarseny
Copy link
Copy Markdown
Contributor

This PR adds sub_account method to AccountIdRef exposing a convenient API for creating sub accounts instead of doing it manually every time

Copy link
Copy Markdown
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolves #23

@race-of-sloths score 3

@frol frol merged commit 6db5b7b into near:main Dec 11, 2025
4 checks passed
@frol frol mentioned this pull request Dec 11, 2025
@race-of-sloths
Copy link
Copy Markdown

race-of-sloths commented Dec 11, 2025

@mitinarseny Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Congratulatory messages are spent out! Your results have exceeded our imagination!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@frol 3

Your contribution is much appreciated with a final score of 3!
You have received 30 Sloth points for this contribution

@frol received 25 Sloth Points for reviewing and scoring this pull request.

What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow

For contributors:

  • Tag @race-of-sloths inside your pull requests
  • Wait for the maintainer to review and score your pull request
  • Check out your position in the Leaderboard
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • Engage contributors with fair scoring and fast responses so they keep their streaks
  • Promote the Race to the point where the Race starts promoting you
  • Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands
  • For contributors
    • Include a PR: @race-of-sloths include to enter the Race with your PR
  • For maintainers:
    • Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
    • Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
    • Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
    • Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

frol added a commit that referenced this pull request Dec 11, 2025
## 🤖 New release

* `near-account-id`: 2.3.0 -> 2.4.0 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[2.4.0](v2.3.0...v2.4.0)
- 2025-12-11

### Added

- `parent.subaccount(name) -> AccountId`
([#51](#51))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants