Skip to content

Latest commit

 

History

History
104 lines (66 loc) · 2.47 KB

README.md

File metadata and controls

104 lines (66 loc) · 2.47 KB
description
Documentation for Setten services and tools.

What is Setten

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 %}

Get started in two minutes

Developer

Create and account
  1. Log in with Github or register on our app.
Create a new project
  1. On the Projects page, click on Add project.
  2. Give it a descriptive name and click on "Create".
  3. You will be redirected to your new project page.
Get your project id and key
  1. 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 %}

Guides

Not sure where to start? Check out our guide to set your project on foot:

{% content-ref url="broken-reference" %} Broken link {% endcontent-ref %}

Concepts

Deep dive into Setten's architecture:

{% content-ref url="broken-reference" %} Broken link {% endcontent-ref %}