DeploySEALED
◇◆□░?■&*^╲$!*●○░?█▒╲@?$!█^●╲◇#◆#□$&▒◆?●◆◇■◆^^@╳▫▒▪!╳╱*%$~?▒▫■╳~*
Transaction ID
Execution Fee
0.00000439 FLOWTransaction Summary
DeployContract deployment
Contract deployment
Script Arguments
0nameString
HelloWorld
1codeString
2f2f2048656c6c6f576f726c642e6364630d0a2f2f0d0a61636365737328616c6c290d0a636f6e74726163742048656c6c6f576f726c64207b0d0a0d0a202020202f2f204465636c6172652061207075626c6963202861636365737328616c6c2929206669656c64206f66207479706520537472696e672e0d0a202020202f2f0d0a202020202f2f20416c6c206669656c6473206d75737420626520696e697469616c697a656420696e2074686520696e697469616c697a65722e0d0a2020202061636365737328616c6c290d0a202020206c6574206772656574696e673a20537472696e670d0a0d0a202020202f2f2054686520696e697469616c697a65722069732072657175697265642069662074686520636f6e747261637420636f6e7461696e7320616e79206669656c64732e0d0a20202020696e69742829207b0d0a202020202020202073656c662e6772656574696e67203d202248656c6c6f2c20576f726c6421220d0a202020207d0d0a0d0a202020202f2f205075626c69632066756e6374696f6e20746861742072657475726e73206f757220667269656e646c79206772656574696e67210d0a2020202061636365737328616c6c2920766965770d0a2020202066756e2068656c6c6f28293a20537472696e67207b0d0a202020202020202072657475726e2073656c662e6772656574696e670d0a202020207d0d0a7d
Cadence Script
1transaction(name: String, code: String) {
2 prepare(signer: auth(Contracts) &Account) {
3 let deployContract: DeployedContract? = signer.contracts.get(name: name)
4 if(deployContract == nil) {
5 signer.contracts.add(name: name, code: code.decodeHex())
6 } else {
7 signer.contracts.update(name: name, code: code.decodeHex())
8 }
9 }
10 }