Skip to content

Instantly share code, notes, and snippets.

@zkharit
zkharit / account-update-permissions.ts
Last active June 7, 2025 16:42
Create Tron Transactions
import { TronWeb } from "tronweb";
const PRIVATE_KEY = "<private key>";
const tronWeb = new TronWeb({
fullHost: "https://nile.trongrid.io/",
privateKey: PRIVATE_KEY,
});
const ownerAddress = 'THEg7RCHyDaNxaLrogF3oYu1WurunNyF4L';