This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<EntryPoint>] | |
let main argv = | |
let dir = argv.[0] | |
let account = ManagedAccount(sender, password) | |
let web3 = Web3Geth(account) | |
web3.Personal.UnlockAccount.SendRequestAsync( | |
sender, | |
password, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let accountShouldCreateUser = | |
ftestCaseAsync "account should create user" $ async { | |
let source = ContractSource.read "../../../build" "FileSyncContract" | |
let password = "password" | |
/// personal stuff | |
let name = "karsten" | |
let! personalAddress = Web3().Personal.NewAccount.SendRequestAsync(password) | |
let personalAccount = ManagedAccount(personalAddress, password) |
OlderNewer