Skip to content
View cristian495's full-sized avatar
Block or Report

Block or report cristian495

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

Pinned Loading

  1. boilerplate-nodejs-api boilerplate-nodejs-api Public

    JavaScript

  2. covid-tracker covid-tracker Public

    JavaScript

  3. photography-website photography-website Public

    template for photography website

    JavaScript

  4. creates a new ethereum address using... creates a new ethereum address using Web3.js
    1
    const ethNodeURL = `http://127.0.0.1:3334`;
    2
    const web3 = new Web3(new Web3.providers.HttpProvider(ethNodeURL));
    3
    const password = "superhypermegastrongpassword"
    4
    const newWallet = await web3.eth.personal.newAccount(password);
    5
    
                  
  5. writeFilesNodejs.js writeFilesNodejs.js
    1
    const dir = "/folderpath";
    2
    if (!fs.existsSync(dir)) {
    3
      fs.mkdirSync(dir);
    4
    }
    5
    fs.writeFileSync(
  6. Example send ETH token using Web3.js Example send ETH token using Web3.js
    1
    const Web3 = require("web3");
    2
    import Tx from "ethereumjs-tx";
    3
    import { usdtABI, usdtAddress } from "../../helpers/currencies/usdt";
    4
    import { ethHost, net, chainId } from "../../ethhost";
    5
    import fs from "fs";