Skip to main content

Questions tagged [smart-contract]

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

How to get Get Stored Data in REST SDK?

I want to get a similar stored data view to what Explorer provides: Or at least query the contract for all of its data key-by-key. How can I do such a thing using the REST SDK for any given contract?
Blender's user avatar
0 votes
0 answers
11 views

How to use stellar for international remittance app from EUR to Asian Corridors

We are fintech based in Europe we are currently providing money remittance services and now would like to leverage blockchain for providing enhanced money remittance service to our users? Our focus ...
Arnab Ghosh's user avatar
1 vote
0 answers
14 views

How to read data of contract storage from offchain?

I have read all the document https://developers.stellar.org/docs/learn/ but not found how to read storage data from client, such as JS client. Can anyone show me some docs or example on read contract ...
breeze wang's user avatar
0 votes
0 answers
26 views

Getting Error while deploying contract at my private network

I have set up a private network of stellar-core version 20.2.0. As 20.2.0 version supports soroban smart contract platform, so can I deploy smart contract to my private network. I have tried the same ...
Alex Smith's user avatar
1 vote
0 answers
19 views

Delegatecall equivalent in Soroban Smart contracts

Is there an equivalent function to delegatecall in Soroban Smart Contracts? We are building test cases for potential vulnerabilities in Soroban contracts, and were wondering if there is an equivalent ...
Arturo Beccar-Varela's user avatar
0 votes
0 answers
61 views

Unable to deploy hello world contract using soroban cli tool

i tried using command - soroban contract deploy --wasm target/wasm32-unknown-unknown/release/soroban_nft.wasm --source alice --network futurenet Caused by: HostError: Error(WasmVm, InvalidInput) ...
the dev's user avatar
  • 101
0 votes
0 answers
21 views

Soroban CLI Error: Missing Result in Successful Response

I'm encountering an error while deploying a Soroban contract using the Soroban CLI. Here's the command I'm using: soroban contract deploy \ --wasm target/wasm32-unknown-unknown/release/hello_soroban....
the dev's user avatar
  • 101
1 vote
0 answers
37 views

Contract invoke error: 'Contract pre-release number does not match host' on Stellar using Soroban

I have deployed the crowdfunding contract on Stellar's Futurenet. When I invoke the contract functions on the terminal using the soroban cli, it gives the error contract pre-release number does not ...
Muhammad Zaryab Rafique's user avatar
1 vote
0 answers
17 views

Smart Contract usecases have disappeared from Stellar website / Fixed Term Deposit

I need infomation about the abilities of Stellar Smart Contract. Unfortunately, this section has disappeared on Stellar Website. Someone can confirm to me the creation of fixed term deposit is ...
Touitou Vincent's user avatar
3 votes
1 answer
127 views

Does Stellar support swap token between two users?

I want my user to send me a smart contract to pay 12000 USDT and get 1 BTC, then I checked his request, which might take long and once I confirmed, I get his 12000 USDT and send 1 BTC to him in a ...
Hadi Jamshidi's user avatar
1 vote
1 answer
115 views

Is digital bank with Stellar possible?

Consider a digital bank with multi-currency deposits of crypto tokens (mirroring fiat), token exchange, transactions and digital wallets. The bank should charge configurable transaction fees with the ...
Poliakoff's user avatar
  • 105
0 votes
1 answer
45 views

How to list all unique contracts on the network?

From a study comparing smart contracts on Ethereum and Stellar, there's a point in the study about downloading all contracts: Testing Smart Contracts: Ethereum vs. Stellar The researchers from ...
Mittenchops's user avatar
3 votes
1 answer
476 views

How to burn tokens with unlimited supply in Stellar?

I can see a similar question here. The accepted answer suggests: To burn a custom asset so it's not taken into account when calculating a circulating supply you can send it back to the issuer ...
Prashant Prabhakar Singh's user avatar
5 votes
3 answers
275 views

Stellar TimeLock for Birthday Gift

Say Alice wants to send Bob 100 XLM for his birthday, but she is often traveling and may not remember to carry out the Tx on the day of Bob's birthday... Time lock just specifies when a Tx can be ...
AliceXLM's user avatar
1 vote
2 answers
129 views

How Do I "distribute" multiple times?

I can create 500,000,000 (5 hundred million) tokens. I want to release 2,000,000 and put on SDEX (and other XLM exchanges). Then, once sold, do a Pre-ICO and distribute 100,000,000 for this sale. ...
Lee Wiest's user avatar
2 votes
2 answers
69 views

Smart contract Signing agent

Can a database act as the signing agent for a stellar smart contract? I.e. the sender or receiver of payment requests to query the database and if certain conditions are met in the database, the ...
Docpot13's user avatar
2 votes
1 answer
149 views

Setting Expiration Time for Offers on Stellar?

Is it possible to create an offer that would only be valid for a day through Stellar DEX? If not filled until expiry time, such offer would be automatically cancelled. Centralized exchanges often ...
user1363's user avatar
6 votes
1 answer
119 views

Could I apply this token scenario in stellar?

I want to create a "Bonus Token" that will automatically be sent to an account that pays with this token. If a sender uses the token to pay multiple times per day then they will only receive the "...
Sea Wave's user avatar
6 votes
2 answers
283 views

How to determine sequence no for pre-authorised transaction with time bound validity without blocking other new possible transactions

If a pre-authorised transaction is created for time bound validity after 50 days and submitted to the network, does this mean another transaction before 50 days cannot happen as the sequence number ...
Anshul mittal's user avatar