Skip to content

Commit

Permalink
修改熊链领水bug
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsongsu committed Jan 25, 2024
1 parent c6ba0dd commit 2291f45
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| 钱包地址 | 钱包对应的私钥 |

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

#### 4、修改程序变量
- ***rpc:自定义你的rpc
Expand Down
1 change: 1 addition & 0 deletions src/bearChain/bearToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ async function main(wallet) {

const response = await sendRequest(url, urlConfig);
console.log('领取成功✅,地址:', address);
attempts = MAX_RETRIES;
} catch (error) {
if (error.response && error.response.data.message === 'Faucet is overloading, please try again') {
attempts++;
Expand Down
1 change: 0 additions & 1 deletion src/carv/carv.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ async function login(wallet) {
const url = 'https://interface.carv.io/protocol/login';
const msg = `Hello! Please sign this message to confirm your ownership of the address. This action will not cost any gas fee. Here is a unique text: ${Date.now()}`;
const signature = await wallet.signMessage(msg);
console.log(signature);
const data = {
wallet_addr: address,
text: msg,
Expand Down

0 comments on commit 2291f45

Please sign in to comment.