GoAdamnite
Official Go implementation of the Adamnite protocol
Install / Use
/learn @Adamnite/GoAdamniteREADME
goAdamnite
An implementation of the Adamnite Protocol in the GoLang programming language.
Running A1 smart contract
In case you want to run your A1 smart contract on the Adamnite blockchain, make sure you go through the following steps:
- Use A1 compiler to compile smart contract to the ADVM bytecode. Follow instructions specified here.
- Build the CLI application by running the following commands:
$ cd VM/cli
$ go build
- Once you have a binary file, run the following command to get code hash, parameters and types:
$ ./cli debug --from-file <path-to-binary-file>
# if you want to try out our examples, try using hexadecimal content of .a1 files in examples directory
$ ./cli debug --from-hex <hexadecimal-string>
- Using the code hash given by above command, run the CLI again to execute the function:
$ ./cli execute --from-file <path-to-binary-file> --args <args> --gas <gas> --function <code-hash>
Congratulations! You have now ran your first smart contract on Adamnite blockchain.
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
