Questions tagged [development]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

How to set the root certification path for supporting https function in http_plugin?

I can find these options (the below) about https in http_plugin, but I can not find the root certification information. --https-server-address arg The local IP and port to listen for ...
1
vote
1answer
13 views

Is it possible to do a demo with testnet without buying EOS RAM?

I'm a rookie when it comes to developing Dapps. I'm thinking of doing a project using EOSIO. I just need to do a demo to showcase my project so I don't need to deploy it for others to use. I don't ...
0
votes
1answer
24 views

Strange checksum256->uint64_t casting

I'm trying to cast checksum256 to uint64_t Here is conversion code: uint64_t checksum_to_uint64(const eosio::checksum256 & digest) { auto checksum_bytes = digest.extract_as_byte_array()....
0
votes
0answers
19 views

Is it possible to run RSA verification within contract

I am trying to implement RSA signature verification in a contract but am a bit stuck. I implemented RSA signature verification using BigInt, however, because of this, it is not possible to transfer ...
0
votes
0answers
32 views

How to get active key within smart-contract

I need to get account public key within smart contract. I tried to find public keys in system contracts, but unsuccessfully. Anybody knows how to do it?
0
votes
0answers
82 views

When deploying a contract what is important (overall contract/wasm size or amount of functions etc) to not get transaction took too long

when I try to deploy the system.contract I sometimes get transaction took too long with the new eosio version 1.8.1. Now I would like to know on which part of a contract do I need to pay attention ...
1
vote
1answer
55 views

How to pass a map into an action

I'm trying to pass a map into action, but there is serialization error: Error: expected object containing data: undefined There is a function signature: void init(uint64_t id, const map<uint8_t, ...
0
votes
0answers
7 views

What is the actual ground level thing happening on the process of block production?

After validating a block by validators, what is the actual thing that happens to recognize that block is validated by at least ([2/3]+1)th of the block producers?
1
vote
1answer
45 views

What exactly the merkle function is returning?

In the below file, https://github.com/EOSIO/eos/blob/v1.7.4/libraries/chain/merkle.cpp, what do ids.front() mean?; what exactly this function Merkle is returning? Could you please explain what this ...
1
vote
1answer
28 views

What is the source code of implementation of EOS Blockchain latest version?

Please provide the link for the latest version of EOS blockchain source code. We are trying to implement concurrency in EOS Blockchain. But for that, we need to analyze the whole code and we should ...
0
votes
2answers
386 views

Using find on multi index table

I have a table defined as the following: struct [[ eosio::table, eosio::contract("voting") ]] identity { uint64_t key; key256 identityHash; time_point_sec createdAt; uint64_t ...
1
vote
0answers
36 views

Get symbol & contract from asset

I currently have an asset property that stores a value, i.e. 100 EOS which could also be another token like 100 TLOS. Is there a way to extract the symbol and possibly the token contract from that ...
0
votes
0answers
70 views

Regex validation on smart contracts

Is is possible to use regex validation in a smart contract?
5
votes
1answer
314 views

Is it secure to use keosd in an aws to let dapp/app server sign transaction?

I would like to know if it is secure to run keosd on an aws locally as a hot-wallet, to let the server of a dapp send a transaction which should be signed to the aws. The server of the dapp would get ...
2
votes
2answers
245 views

A possible alternative sign in/login process instead of firebase auth / amazon cognito using an eos contract?

I had the the idea of a secure alternative login process using an EOS smart contract instead of firebase or Amazon cognito. I would like to know if something like this feasible? My idea is somewhat ...
2
votes
2answers
108 views

How do tokens that pay dividends work?

If a token is created as a standard eosio.token, what are some approaches for paying out dividends to token holders?
4
votes
1answer
94 views

BUG when two accounts send action at the same time to modify multiindex table

It took me several days to find the bug. I got a table like this TABLE t {uint64_t key, name player1, name player2, uint64_t status}; When the contract received the specific action, it will go ...
2
votes
1answer
145 views

Is it possible to compile EOS contract with out 'make install' of EOSIO?

building eosio source needs pretty high resource, so I want to deploy with out build eosio source. or at least I want to compile it with out "make install". could it be possible?
1
vote
2answers
79 views

Where does the most active EOS community reside? IRC? Telegram? Slack?

Where is the active eos developer community reside? Do they hangout in IRC? Slack? Telegram? I don't care for eos speculation trading chatrooms.
1
vote
0answers
9 views

What is the main library do most people use when building out mobile wallets for EOS?

What is the main library that most people use when building out mobile wallets for EOS? How does it communicate with the block producer nodes to execute account related commands?
4
votes
1answer
74 views

What is the quickest way to get a local EOS Block Explorer up and running?

I would love to have an EOS Block Explorer on my local machine for during development. Would be a great development tool :-). Who can provide me the steps / tools to get it up and running?
2
votes
1answer
549 views

Where is the roadmap for EOS development? What is happing in 2019 and beyond?

What is planned for EOS in the coming future? Where can one see the roadmap for the project?
1
vote
1answer
24 views

Compiled modified cleos

I've made some changes to the main.cpp file in the folder /programs/cleos/. How can i compile only this file? I've tried with g++ main.cpp but i have to link all the include directories using -I and ...
3
votes
1answer
166 views

What will happen with database and inline transaction when a transaction doesn't get 2/3+1 in the end?

As the questions says, what will happen with the database and inline transaction when a transaction doesn't get the 2/3+1 "Votes" from the block producer that a transaction is legit? Will all changes ...
1
vote
1answer
53 views

other way to let contract account provide for cpu/bandwidth than delegatew/undelegatew?

as far as i can tell it is somehow inconvenient to let the user of an contract "pay" for the cpu time. I thought that the one who manages the contract, has to stake for cpu/bandwidth, so user can use ...
3
votes
2answers
1k views

How to get transactions from an account through API call

Is it possible to get the incoming and outgoing transactions from an account? according to this https://developers.eos.io/eosio-nodeos/reference link there is no way to do so. I've seen people making ...
2
votes
2answers
87 views

How to use std::tuple with eosiocpp?

I am trying to use typedef std::tuple<double, double> location_t; to create a simple tuple with latitude and longitude, but eosiocpp gives me 2018-09-02T12:54:47.310 thread-0 main.cpp:105 ...
3
votes
1answer
153 views

What is the complete setup (technology) stack for developing an EOS-powered video game?

It will have to use cleos backend, as well as a JavaScript server, and the front-end will be a video-game such as this one (as an example only, warning, it requires flash): https://armorgames.com/...
5
votes
1answer
99 views

Is it possible for a smart contract to deploy another?

Is there a command for a smart contract to deploy another? As an example, is it possible to create a token factory, where users can select the name/total supply, and be given ownership of a new ...
1
vote
2answers
471 views

print in contract not showing output in eosjs docker

i want to print some logs in eosjs docker version. But somehow it is not showing anything. I have set: # print contract's output to console (eosio::chain_plugin) contracts-console = true in the ...
3
votes
1answer
50 views

Is it possible to use multi_index on property of a struct in a struct?

can i use the id of a struct in an other struct as return value for multi_index? like: //@abi table test i64 struct st_test{ uint64_t id; string name; uint64_t primary_key() const {return ...
2
votes
1answer
723 views

sha256 in function returns two different checksums and checksums don't change

i have two functions in which i calculate the checksume of a string. The first Problem is, i can change numa and numb as i want i always get the same checksume. It is as the string is not used. The ...
0
votes
1answer
420 views

How to delete struct object in a vector<struct>?

I thought it would be good idea to store a object of struct in a vector because I have seen it in a tutorial Tutorial but now I have a problem if I want to remove it from the vector. I want to make ...
1
vote
1answer
129 views

Secure way to sign a Transaction in a polling Service

assume i have written an polling service in nodejs which i would like to run on an aws e2 instance (t2.nano/t2.micro). This service will observe a specific account every 10sec or so for incoming ...
-1
votes
1answer
114 views

Error when building EOS from source

I've tried to build eos from source code and I get the error message below : [ 83%] Generating dice.abi.hpp [ 84%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_secp256k1....
2
votes
1answer
122 views

How to prevent cheating in a turn-based-game on blockchain?

I want to create game where p1 and p2 take actions in turns but neither p1 nor p2 should be able to see the action, the other is doing till the end of the game. If I would do it like in a normal Web-...
0
votes
2answers
62 views

EOS Programming tools in the near future?

I am starting to make my first steps on EOS programming but I find the tools available to be quite raw at the time being. There are many things (Integrated IDEs, platform installers, etc) that could ...
3
votes
3answers
316 views

How to update local EOS installation?

I installed EOS locally following the instructions here https://github.com/EOSIO/eos/wiki/Local-Environment Which basically involve: git clone https://github.com/EOSIO/eos --recursive ./eosio_build....
1
vote
2answers
660 views

How to setup eosiocpp to find standard libraries?

I pulled the eos github repo and compiled the tools. Now, in my project folder, I want to compile the contract like ~/repo/eosio/eos/build/tools/eosiocpp -o contract/contract.wast contract/contract....
1
vote
1answer
113 views

Main steps for preparing IDE for Nodeos development

I'm a Java developer so I am a bit new to prepare IDE for C+ project. What are the main steps for preparing development environment for Nodeos? I downloaded full source code from github/eos/eosio and ...
7
votes
3answers
527 views

Which NodeJs UI Framework is most suitable for EOSJS

I'd like to know which Framework you should use in eosjs. I have little experience with JavaScript and so I don't know which Framework works best together with eosjs or does the framework even matter? ...
1
vote
0answers
82 views

Failed to deserialize variant EOSJS

I am following this tutorial https://github.com/eosasia/ping-eos I am trying to connect my web application to my smart contract. when i use cleos to test the smart contract i am able to see that the ...
7
votes
5answers
2k views

EOSJS tutorials

I have checked Where can I find complete (whole stack) EOS dApp development example projects? With smart-contracts, the necessary C++ coding and a browser interface? But I haven't found a full EOSJS ...
8
votes
2answers
397 views

Nodeos failing to launch?

After a fresh build, nodeos tests are failing: The following tests FAILED: 28 - nodeos_run_test (Failed) 29 - nodeos_run_remote_test (Failed) Errors while running CTest Verbose output from ...
9
votes
2answers
443 views

Which version of C++ can I use in smart contracts?

Which version of C++ can I use to implement smart contracts? For example: C++11, C++14 or C++17? Do we have any constant or doc where it is defined? Also, in my understanding the code is sandboxed, ...
4
votes
2answers
107 views

Is there going to be support for a native Windows Development environment?

Is there a plan or is it already possible to run the EOS dev environment on Windows? The only thing I have found about this topic is this link where they are using Ubuntu for Windows to make it ...
30
votes
5answers
3k views

Where can I find complete (whole stack) EOS dApp development example projects? With smart-contracts, the necessary C++ coding and a browser interface? [closed]

I can't wait to find complete EOS.io dApp examples. Not only the WASM and Smart Contract, but the complete stack with f.e. the web interface. Please add any EOS dApp Example project as answers on ...
7
votes
1answer
317 views

Developing Smart Contracts with Docker

If I have the eos chain running in a Docker container, how can I interact with it from my local file system? I would love to be able to create my contracts, compile them, and deploy to my docker ...
27
votes
3answers
472 views

Is there a standard for naming and formatting that EOS projects should follow / EOS C++ coding style?

Coming from other C++ projects like Unreal Engine I was surprised to see coding standards in the EOS codebase is all lowercase, not only for variables but even for class names. Is there any resource ...