Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create main.js #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Create main.js #67

wants to merge 1 commit into from

Conversation

RiperYT
Copy link

@RiperYT RiperYT commented Feb 25, 2023

No description provided.

@Kyrylog
Copy link
Member

Kyrylog commented Mar 3, 2023

You are right, there is no place for private key in the code, so it could be implemented like
const signedTransaction = await web3.eth.accounts.signTransaction(transaction, private_key);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants