6
votes
How to get friendbot to fund my new account using a HTTP request?
In browser you can use Fetch API for this purpose:
fetch('https://horizon-testnet.stellar.org/friendbot?addr=<account-address>')
.then(res=>res.json())
.then(res=>console.log(res))
- 6,876
5
votes
Accepted
Is there no notion of on-chain deploy on Stellar?
Correct. Stellar is not a "global computer" like Ethereum, it's a ledger that has building blocks that let you provide guarantees about when a transaction will be valid in the future. "Executing" a ...
- 513
4
votes
Accepted
Python vs Java(script) for stellar apps. Is it worth learning a new language?
Stellar JavaScript SDK features one undeniable advantage – it gives an ability to create a Stellar app that will work directly in a browser. Browser-based apps are easier to promote (no need to ...
- 6,876
4
votes
Accepted
How do you use the stellar quickstart without docker?
There is a docker product called Docker Toolbox which advertises support for older versions of windows. It requires a 64-bit version of Windows 7 or better.
- 3,367
3
votes
Preventing knock-off assets
I understand from here and here that assets are defined by the unique combination of their asset_code and their asset_issuer.
If you understand this fully, you also understand Trustlines. An account ...
- 288
3
votes
Preventing knock-off assets
Tokens are created by simply sending them from the issuer account to anyone elses account. Your "Steve" account is unique and you are the only one in possession of the private key, nobody else can ...
- 2,534
3
votes
Preventing knock-off assets
what prevents non-Stevens from issuing dollars, bitcoins, coconuts, or SteveCoins they aren’t authorized to issue?
Who would authorize that? Stellar is decentralized, so there is no central authority ...
- 513
3
votes
Accepted
What tool is used for browser interactivity?
Right now I believe SEP-7 is the best answer. It defines a link format that an app such as yours can use to create a transaction that you'd like a user's wallet to sign and submit. The flow is this:
...
- 176
2
votes
Accepted
How do you join the Stellar Slack channel
Go to https://slack.stellar.org/ and fill out the form to request an invitation. An email will be sent to you when you are approved to join.
- 1,174
2
votes
How to get friendbot to fund my new account using a HTTP request?
Your code is missing to set Keypair before send to friendbot.
var StellarSdk = require('stellar-sdk');
var pair = StellarSdk.Keypair.random();
pair.secret();
console.log('secret => '+pair.secret()...
2
votes
Monitor transactions of non-native asset
You could use the all effects endpoint in streaming mode, and programmatically filter trading and trustline effects that involve the target asset.
- 3,367
2
votes
Accepted
Enforcing Non-Native Asset Transactions
I think there are two pieces of this question being conflated. There are assets in real life, and there are the representation of those assets over the network. The representation of assets on the ...
- 430
2
votes
What is the status of the Stellar Open Institute? Can developers still get involved?
There are currently no active plans with the Stellar Open Institute. Instead, we have other initiatives in the works.
To stay updated on what's coming, I recommend you sign up for the Stellar ...
- 392
2
votes
Accepted
Framework for a hello world application
Check out the docs for Horizon, which is a RESTful API for gathering information about the network. It doesn't cost anything to make queries to it, but when building a real application, the best ...
- 513
2
votes
Where is the '.well-known' folder located?
Yes, you have to create this folder.
Stellar documentation explains it like this:
https://DOMAIN/.well-known/stellar.toml
Here is a real world example that you can try out:
https://stronghold.co/....
- 95
1
vote
How to provide password when running horizon db migrate up command inside docker container?
Ran into this issue today. I was able to check what the DATABASE_URL value that cmd horizon db migrate up expected by looking at horizon.env within the stellar/quickstart docker container. I then ran ...
- 191
1
vote
Framework for a hello world application
Unlike Ethereum, Stellar does not have automagic on chain contracts. You have to craft of chain transactions to achieve anything.
First read the official guides and especially get familiar with the ...
- 2,534
1
vote
Where is the '.well-known' folder located?
.well-known is found inside the public_html directory on your server, put the stellar.toml file there.
1
vote
Python / Django - Accept payements ? Seed storage?
At the moment, there are no stellar-django packages.
Not sure what you mean here by "seed" but user data shouldn't be stored on any public facing endpoints/public facing endpoints. I think the ...
- 392
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
new-developer × 23token × 5
horizon × 4
accounts × 3
transactions × 2
assets × 2
javascript-sdk × 2
xlm × 2
java-sdk × 2
testnet × 2
docker × 2
python-sdk × 2
token-wallet × 2
developersguide × 2
stellar-core × 1
stellar-sdk × 1
payments × 1
operations × 1
security × 1
lumens × 1
stellar.toml × 1
exchanges × 1
dex × 1
issuing × 1
trade × 1