ontology-smartcontract icon indicating copy to clipboard operation
ontology-smartcontract copied to clipboard

tools, tutorials for ontology smart contact

Results 7 ontology-smartcontract issues
Sort by recently updated
recently updated
newest added

compile template.py in SmartX but get this error "Error: No module named 'boa.blockchain' ![image](https://user-images.githubusercontent.com/40733201/48265711-29928500-e468-11e8-940c-f31c41a776cf.png)

We compiled and distributed the oep-4 contract in SmartX. As a result of debug-run of the balanceof function, it appears well with the byte code, but in the case of...

In native contract Auth.VerifyToken (ontology/smartcontract/native/auth/auth.go), ``` go func VerifyToken(native *native.NativeService) ([]byte, error) { //deserialize param param := &VerifyTokenParam{} rd := bytes.NewReader(native.Input) err := param.Deserialize(rd) if err != nil { return...

Follow document of Native.Invoke and found, 1. `ontAddr = "AFmseVrdL9f9oyCzZefL9tG6UbvhUMqNMV".ToScriptHash()` cannot be used as native contract address. SmartX reports 'address invalid' 2. convert ontAddr to hexstring by using base58ToHex in...

help wanted

Deploy and execute ```FooBar``` in following code. In ontology log, it reports ``` [NeoVmService] vm execute error!: Not support interface to biginteger ``` In SmartX it reports ```9/14/2018, 11:21:52 AM...

Deploy following code and invoke FooBar(), the result should contain ```["00"], ["0a"], ["14"]``` instead of only ```["00"]``` ``` C# using Ont.SmartContract.Framework; using Ont.SmartContract.Framework.Services.Ont; using Ont.SmartContract.Framework.Services.System; using System; using System.Numerics; namespace...

使用的虚拟机:ontology_wasm 合约使用c语言编写,fiddle编译,wat2wasm编译wasm文件 ```c char* hello(char* name) { return strconcat("hello ",name); } char* invoke(char* method,char* args) { if (strcmp(method, "hello")==0){ char* name = ReadStringParam(args); char* res = hello(name); //char* result =...

help wanted