Skip to content

Conversation

krebernisak
Copy link
Collaborator

No description provided.

@krebernisak krebernisak requested a review from a team as a code owner September 25, 2025 15:25
Copy link

changeset-bot bot commented Sep 25, 2025

⚠️ No Changeset found

Latest commit: d2cd41a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@krebernisak krebernisak marked this pull request as draft September 25, 2025 15:25
Copy link
Contributor

Choose a reason for hiding this comment

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

is nix mandatory for ton?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hey! Nix is added to support dev environments for devs that use Nix.

Nix is also the way to get chainlink-ton packages, in this case I will need the TON contracts package, which I can easily pull from source with Nix. This is required to deploy contracts.

Same as we import Go bindings from a commit with Go,
we import TON contract artifacts from a commit with Nix.

Nix is an orthogonal add-on - this means that folks can use it or set up things manually.

For TON, some tools like Go need to be in a path and TON compiled contracts need to be available on a path defined with an env var. One can just run a prepared Nix shell to get all of that, or set up things manually.

Once I get everything working, I will also document how to get a TON env running manually as well.

Copy link
Contributor

@gustavogama-cll gustavogama-cll left a comment

Choose a reason for hiding this comment

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

I have a few requests, if you please.

  1. add a changeset file
  2. remove the .envrc file. We don't mind if you want to use nix, but we don't want to enforce it by default
  3. consider adding unit tests; I understand it's just an initial PR, but we do try have good coverage in the library. Ideally, in every PR.

@gustavogama-cll
Copy link
Contributor

I see the PR was marked as draft later... If it's not ready for review yet, please ignore my remarks.

@krebernisak
Copy link
Collaborator Author

I see the PR was marked as draft later... If it's not ready for review yet, please ignore my remarks.

Thx for a quick review! Yeah, still an early draft trying to move things forward.

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.

2 participants