SkillAgentSearch skills...

GoAdamnite

Official Go implementation of the Adamnite protocol

Install / Use

/learn @Adamnite/GoAdamnite
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

goAdamnite

An implementation of the Adamnite Protocol in the GoLang programming language.

Build

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:

  1. Use A1 compiler to compile smart contract to the ADVM bytecode. Follow instructions specified here.
  2. Build the CLI application by running the following commands:
$ cd VM/cli
$ go build
  1. 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>
  1. 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

View on GitHub
GitHub Stars97
CategoryDevelopment
Updated6mo ago
Forks2

Languages

Go

Security Score

92/100

Audited on Oct 2, 2025

No findings