Coder Social home page Coder Social logo

csharp-xpx-chain-sdk's Introduction

ProximaX Sirius Blockchain C# SDK

Official ProximaX Sirius Blockchain SDK Library in C#.

The ProximaX Sirius Catapult Chain C# SDK is a C# library for interacting with the Sirius Blockchain. It provides a complete library set coverage, and supports synchronous and asynchronous requests.

Requirements

.NetStandard 2.0

See !here for platform compatibility

Installation

In .Net Core

dotnet add package csharp-xpx-chain-sdk

dotnet restore

If you are using legacy .Net Framework 4.6.1 and above

Install-Package csharp-xpx-chain-sdk

Wiki and Examples

For SDK documentation and examples see wiki

Contribution

We'd love to get more people involved in the project. Please feel free to raise issue or PR and we'll review your contribution.

License

Project is licensed under Apache License Version 2.0. See LICENSE file for details.

Copyright (c) 2019 ProximaX Limited

csharp-xpx-chain-sdk's People

Contributors

avanaur avatar kodty avatar laics1984 avatar otsybizov avatar sateetje avatar shinneng avatar sleepyowl14 avatar thomas-tran avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csharp-xpx-chain-sdk's Issues

Support versioning

new server supports versioning and there were changes in serialization amongst other things. implement support for this new server

Anatoliy Osetsymskyi
Hi guys=) We did Versinoning release of blockchain(It is next release for Dragon. We don't plan to integrate Elephant and next NEM releases at the moment, but maybe we will change it in future).
It contains breaking changes, so now sdk doesn't work with it. But you can easy fix it.

We increased the version(it is field in transaction) of each transaction from 2 bytes(uint16) to 4 bytes(uint32).
Also we added CatapultConfigTransaction and CatapultUpgradeTransaction.

You can find updated flatbuffers here:
https://github.com/proximax-storage/go-xpx-chain-sdk/tree/development/transactions/schemas

Also we added "config/{height}" and "upgrade/{height}" routes. First route returns config of network at height X, second return required version of blockchain
You can find more information in swagger:
https://github.com/proximax-storage/js-xpx-chain-rest/blob/master/swagger.yaml

If you have questions, you can check GO SDK first(For example how to create a new version of tranasction, or how to parse blockchain's config):
https://github.com/proximax-storage/go-xpx-chain-sdk/pull/46/files

Also we removed hardcoded currency MosaicId=) Now it is namespaceId "prx.xpx", because each network will have own MosaicId:
https://github.com/proximax-storage/go-xpx-chain-sdk/blob/development/sdk/consts.go#L15

For testing you can use local version of blockchain or devnet. On the next week we will push it to staging network:
Local(currency mosaic is prx.xpx): https://github.com/proximax-storage/dfms-dev-net/releases/tag/versioning-0.1
Devnet(currency mosaic is prx.xpx): http://bcdev1.xpxsirius.io:3000/config/1

Shin Neng Wong
latest update for testnet:
COW version:
bctestnet1.xpxsirius.io
bctestnet2.xpxsirius.io

*DRAGON version :
bctestnet1-dragon.xpxsirius.io
bctestnet2-dragon.xpxsirius.io
bctestnet3-dragon.xpxsirius.io
bctestnet4-dragon.xpxsirius.io
bctestnet5-dragon.xpxsirius.io
bctestnet6-dragon.xpxsirius.io

chain will be reset once new Dragon version is ready

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.