Skip to content
View MoneyMan840's full-sized avatar

Block or report MoneyMan840

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MoneyMan840/README.md

#cd/opt const tonweb = new TonWeb();

const wallet = tonweb.wallet.create({publicKey});

const address = await wallet.getAddress();

const nonBounceableAddress = address.toString(true, true, false);

const seqno = await wallet.methods.seqno().call();

await wallet.deploy(secretKey).send(); // deploy wallet to blockchain

const fee = await wallet.methods.transfer({ secretKey, toAddress: 'EQDjVXa_oltdBP64Nc__p397xLCvGm2IcZ1ba7anSW0NAkeP', amount: TonWeb.utils.toNano(0.01), // 0.01 TON seqno: seqno, payload: 'Hello', sendMode: 3, }).estimateFee();

const Cell = TonWeb.boc.Cell; const cell = new Cell(); cell.bits.writeUint(0, 32); cell.bits.writeAddress(address); cell.bits.writeGrams(1); console.log(cell.print()); // print cell data like Fift const bocBytes = cell.toBoc();

const history = await tonweb.getTransactions(address);

const balance = await tonweb.getBalance(address);

tonweb.sendBoc(bocBytes);

Popular repositories Loading

  1. MoneyMan840 MoneyMan840 Public

    Config files for my GitHub profile.

    1

  2. solidity_smart_contracts solidity_smart_contracts Public

    Forked from HashLips/solidity_smart_contracts

    A list of smart contracts coded in solidity

    Solidity

  3. opentonapi opentonapi Public

    Forked from tonkeeper/opentonapi

    Opentonapi simplifies development of TON-based applications and provides an API centered around high-level concepts like Jettons, NFTs and so on keeping a way to access low-level details.

    Go

  4. verifier verifier Public

    Forked from ton-blockchain/verifier

    TypeScript

  5. wallet-contract-v5 wallet-contract-v5 Public

    Forked from ton-blockchain/wallet-contract-v5

    w5

    TypeScript