Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ NewProgramBuilder
Function
NewProgramBuilder
core/program/program.go:87–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
}
86
87
func
NewProgramBuilder() ProgramBuilder {
88
return
ProgramBuilder{sink: common.NewZeroCopySink(nil)}
89
}
90
91
func
ProgramFromPubKey(pubkey keypair.PublicKey) []byte {
92
sink := common.ZeroCopySink{}
Callers
2
TestProgramBuilder_PushBytes
Function · 0.85
ProgramFromParams
Function · 0.85
Calls
1
NewZeroCopySink
Function · 0.92
Tested by
1
TestProgramBuilder_PushBytes
Function · 0.68