Code Monkey home page Code Monkey logo

dailytask's Introduction

使用教程

1、下载软件依赖库

下载代码后,打开终端或者CMD窗口, 输入: cd 你的文件夹路径 然后输入: npm install

1.1 显示乱码问题

使用windows cmd窗口执行程序,如果你的cmd没有支持UTF-8编码,输出的log和提示都是乱码,建议使用PowerShell执行程序,或者打开cmd文件后,先运行

chcp 65001

2、创建wallet.csv 文件

在桌面或者你认为安全的地方,创建一个文件夹,然后文件夹内放置一个.csv的文件,文件夹和名字你自己想一个合适的就行,不一定非得是wallet这种关键词。csv文件格式如下

address privateKey
evm钱包地址1 私钥地址
evm钱包地址2 私钥地址

3、加密wallet.csv 文件

在utils文件夹中打开walletEncryption.js代码文件,将你的钱包文件路径填进去之后,运行代码就行,输入的是你加密的密码,不是小狐狸钱包的密码!!!

你跑需要钱包私钥的程序才需要加密,领水等程序不需要第2、3步骤!

你跑需要钱包私钥的程序才需要加密,领水等程序不需要第2、3步骤!

你跑需要钱包私钥的程序才需要加密,领水等程序不需要第2、3步骤!

请注意,运行程序首先必须加密你的钱包私钥,并且在加密后将原始文档删除,防止私钥明文泄露

4、修改程序变量

5、运行程序

首先cd src/xxxx文件夹内,需要运行哪个程序就 node xxxx.js

例如运行analog程序,需要你先 cd src/analog,然后使用node deploy.js 命令执行程序

6、更新程序

在代码根目录下执行 git pull即可,不用重新下载

dailytask's People

Contributors

0xsongsu avatar barrycca avatar nathan-du avatar okeyzero avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.