Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (24 loc) · 1.19 KB

Gno Forms

gno-forms is a form-editing application inspired by Google's "Google Forms" using gno.land


The web application allows viewing forms and creating new ones.

alt text

Creating a new form

Creating a new form requires passing the form's fields in a JSON format.

gnokey maketx call -pkgpath "gno.land/r/demo/forms" -func "CreateForm" -gas-fee 1000000ugnot -gas-wanted 2000000 -send "" -broadcast -chainid "dev" -args "" -args "" -args "" -args "" -args "" -remote "tcp://127.0.0.1:26657" MyKey

This JSON format can be generated by the web interface.

alt text

Viewing form results

It is possible to view the form's results via the web interface or via gno.land

alt text alt text

Answering form

Again, the web interface allows for a simple way to answer a form

alt text

Although it can also be done via gnokey

gnokey maketx call -pkgpath "gno.land/r/demo/forms" -func "SubmitForm" -gas-fee 1000000ugnot -gas-wanted 2000000 -send "" -broadcast -chainid "dev" -args "" -args "" -remote "tcp://127.0.0.1:26657" MyKey