description |
---|
Documentation for Setten services and tools. |
Setten is Blockchain as a Service company dedicated to the Terra blockchain.
With Setten, you can access the Terra network with fast and reliable performance in only a few clicks. Spend less time on your infrastructure and more time building your project.
{% hint style="info" %} Are you looking for feature requests and community discussions?
You can request and vote for features, give feedback, and receive community support here. Talk to you soon! {% endhint %}
Create and account
- Log in with Github or register on our app.
Create a new project
- On the Projects page, click on Add project.
- Give it a descriptive name and click on "Create".
- You will be redirected to your new project page.
Get your project id and key
- In the "Access" section, copy the "Project ID" and "Key" fields.
Use your project endpoint in your code
{% code title="javascript" %}
import { LCDClient } from '@terra-money/terra.js';
const settenProject = "37677fb03e7d426e8ecfd56f36655577"
const settenKey = "4e4a6106c6354339a263d23090559804"
// connect to pisco testnet
const terra = new LCDClient({
URL: `https://lcd.pisco.terra.setten.io/${settenProject}?key=${settenKey}`,
chainID: 'pisco-1',
});
// ...
{% endcode %}
{% code title="python" %}
import asyncio
from terra_sdk.client.lcd import AsyncLCDClient
SETTEN_PROJECT = "37677fb03e7d426e8ecfd56f36655577"
SETTEN_KEY = "4e4a6106c6354339a263d23090559804"
async def main():
terra = AsyncLCDClient(f"https://lcd.pisco.terra.setten.io/{SETTEN_PROJECT}", "pisco-1")
terra.session.headers.add("Authorization", f"Bearer {SETTEN_KEY}")
# ...
await terra.session.close()
asyncio.get_event_loop().run_until_complete(main())
{% endcode %}
Not sure where to start? Check out our guide to set your project on foot:
{% content-ref url="broken-reference" %} Broken link {% endcontent-ref %}
Deep dive into Setten's architecture:
{% content-ref url="broken-reference" %} Broken link {% endcontent-ref %}