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

Migration to web3 format (create account) #40

Closed
skywinder opened this issue Sep 19, 2018 · 4 comments
Closed

Migration to web3 format (create account) #40

skywinder opened this issue Sep 19, 2018 · 4 comments
Milestone

Comments

@skywinder
Copy link
Collaborator

skywinder commented Sep 19, 2018

With web3js v1.0.0 you can create accounts with web3.eth.accounts.create(); and access the public address and private key with newWallet.address and newWallet.privateKey.

We have to implement the same thing in web3j (@ligi) and web3swift

Here an usage example:

newWallet = web3.eth.accounts.create() 
// access the public address 
newWallet.address
//private key:
newWallet.privateKey
@skywinder
Copy link
Collaborator Author

@skywinder skywinder added this to the 2.0.0 milestone Sep 19, 2018
@TonioMacaronio
Copy link
Collaborator

TonioMacaronio commented Nov 26, 2018

@skywinder Is this still needed?

@TonioMacaronio
Copy link
Collaborator

Closed due to inactivity

@gauravgg
Copy link

gauravgg commented Aug 3, 2021

Can a Sign a message using my private key and get the signature in swift similar to the org.web3j:crypto in android?

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

No branches or pull requests

3 participants