Created
September 16, 2021 07:54
-
-
Save klimisa/054d8da05a63bc7e25e546a0a4af483f to your computer and use it in GitHub Desktop.
Nethereum with Fable example
This file contains 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
#load "../.paket/load/net5.0/main.group.fsx" | |
open Fable.React | |
open Nethereum.Web3 | |
printfn "Fable compiled this" | |
let account = Web3.GetAddressFromPrivateKey("3a4f9a5f5350caf50ad4a9c7b87b01d095a70af3d8f6fdb7b314ce0b3b13711f") | |
let App = | |
h1 [] [ | |
str account | |
] | |
mountById "app" App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment