Skip to content

tonwhales/ton-compiler-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TON compiler service

Service for compilation of TON smart contracts. Useful for web services, access from the browser or contract verification.

How to use

You can use securely deployed service at https://compiler.tonhubapi.com/.

To compile contract POST sources and parameters to https://compiler.tonhubapi.com/compile:

{
	"code": "() recv_internal(slice in_msg) impure { } ",
	"libs":["stdlib"]
}

This will return:

{
	"exit_code": 0,
	"stderr": "",
	"stdout": "",
	"fift": "PROGRAM{\n  DECLPROC recv_internal\n  recv_internal PROC:<{\n    //  in_msg\n    DROP\t// \n  }>\n}END>c",
	"cell": "te6ccgEBAgEAEQABFP8A9KQT9LzyyAsBAATTMA=="
}

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published