Giter Site home page Giter Site logo

ethena-minting-client's Introduction

API Examples

Example scripts interacting with Ethena Minting API

Quick start for minting

Prepare .env file

$ cp .env.example .env
# Edit .env file with your credentials. These will be loaded into environment variables on start.

Install Python

Tested under Python 3.11.

# Create self-contained Python environment:
$ python -m venv myenv
# Activate the environment:
$ source venv/bin/activate
# Check version = 3.11
(venv) $ python3 --version
# Install requirements
(venv) $ pip install -r requirements.txt

Run mint

$ This will run the mint.
$ ./mint_script_v2.py

FAQ

Changes in V2

  • rfq_id returned in the /rfq endpoint must now be included as order_id within the signed order payload posted to the /order endpoint.
  • rfq_id is no longer required with the /order submission parameters.
  • signature_type has been included as optional parameter in the /order endpoint. The default value is EIP712 with the only other supported value being EIP1271; mandatory for orders of that kind.

ethena-minting-client's People

Contributors

kayinnnn avatar mcevoyinit avatar pabalca avatar dehb6 avatar

Stargazers

 avatar  avatar  avatar Bodhi avatar Andreas Karg avatar M.Emin Taş avatar Londinium avatar  avatar Cola avatar

Watchers

Mark Bridgett avatar

ethena-minting-client's Issues

Remove infura api key from code

Hello Ethena devs!

You should probably review/merge the following pull request to remove the hardcoded infura api key from the code and revoke it.

#1

Cheers,
Pabs

h3lqii

Please help me create an external account to trade electronic money, please refer to ''meta WIN"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.